Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [vmlocking] src/sys/kern



Module Name:    src
Committed By:   ad
Date:           Thu Aug 30 12:59:53 UTC 2007

Modified Files:
        src/sys/kern [vmlocking]: kern_sleepq.c

Log Message:
When awakening a thread on a remote CPU, if it has kernel priority or higher
then use RESCHED_IMMED. This is important for rwlocks, since they do direct
handoff. If the owner does not run soon then other threads trying to acquire
the lock will back up waiting for the running thread to be preempted due to
some other event, and the lock can become a chokepoint. I suspect this may
also fix a loss of interactivity when the boot CPU (or whichever CPU is
handling most device interrupts) is taken offline with cpuctl on a busy
system.


To generate a diff of this commit:
cvs rdiff -r1.7.2.10 -r1.7.2.11 src/sys/kern/kern_sleepq.c

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