Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [vmlocking] src/sys
Module Name: src
Committed By: ad
Date: Sun Jul 1 21:37:35 UTC 2007
Modified Files:
src/sys/kern [vmlocking]: kern_timeout.c
src/sys/sys [vmlocking]: callout.h
Log Message:
- Alter the callout ABI to be stable in the event of changes to the
internal data structures.
- Add a flags argument to callout_init(). If CALLOUT_MPSAFE is specified,
the kernel lock is not taken when the callout is executed.
- Only synchronize with running callouts from callout_stop(). If the
callout is MP safe, then sleep until it has completed. If it is not
MP safe (and thus should not block) use the kernel lock to provide
synchronization. Both need to be verified as deadlock free, but at
this time I think they are OK.
To generate a diff of this commit:
cvs rdiff -r1.21.4.2 -r1.21.4.3 src/sys/kern/kern_timeout.c
cvs rdiff -r1.23.6.1 -r1.23.6.2 src/sys/sys/callout.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index