Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [yamt-idlelwp] src/sys
Module Name: src
Committed By: ad
Date: Thu Apr 19 04:19:44 UTC 2007
Modified Files:
src/sys/kern [yamt-idlelwp]: kern_condvar.c kern_mutex.c kern_rwlock.c
kern_sleepq.c kern_synch.c kern_turnstile.c sys_lwp.c
src/sys/sys [yamt-idlelwp]: sleepq.h
Log Message:
Pull up a change from the vmlocking branch:
- Ensure that LWPs going to sleep are on the sleep queue before releasing
any interlocks. This is so that calls to turnstile_wakeup will have the
correct locks held when adjusting priority. Avoids another deadlock.
- Assume that LWPs blocked on a turnstile will never be swapped out.
- LWPs blocking on a turnstile must have kernel priority, as they
are consuming kernel resources.
To generate a diff of this commit:
cvs rdiff -r1.3.2.2 -r1.3.2.3 src/sys/kern/kern_condvar.c
cvs rdiff -r1.4.2.5 -r1.4.2.6 src/sys/kern/kern_mutex.c
cvs rdiff -r1.3.2.3 -r1.3.2.4 src/sys/kern/kern_rwlock.c
cvs rdiff -r1.4.2.12 -r1.4.2.13 src/sys/kern/kern_sleepq.c
cvs rdiff -r1.177.2.26 -r1.177.2.27 src/sys/kern/kern_synch.c
cvs rdiff -r1.3.2.7 -r1.3.2.8 src/sys/kern/kern_turnstile.c
cvs rdiff -r1.3.2.8 -r1.3.2.9 src/sys/kern/sys_lwp.c
cvs rdiff -r1.2.2.5 -r1.2.2.6 src/sys/sys/sleepq.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