cvs commit: src/sys/kern kern_fork.c
Jeff Roberson
jeff at FreeBSD.org
Mon Jun 4 23:53:35 UTC 2007
jeff 2007-06-04 23:53:34 UTC
FreeBSD src repository
Modified files:
sys/kern kern_fork.c
Log:
Commit 6/14 of sched_lock decomposition.
- Use thread_lock() rather than sched_lock for per-thread scheduling
sychronization.
- Use the per-process spinlock rather than the sched_lock for per-process
scheduling synchronization.
- Replace the tail-end of fork_exit() with a scheduler specific routine
which can do the appropriate lock manipulations.
Tested by: kris, current@
Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc.
Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
Revision Changes Path
1.275 +14 -30 src/sys/kern/kern_fork.c
More information about the cvs-src
mailing list