Source-Changes archive

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

CVS commit: [wrstuden-revivesa] src/sys



Module Name:    src
Committed By:   wrstuden
Date:           Fri Jun 27 03:52:32 UTC 2008

Modified Files:
        src/sys/kern [wrstuden-revivesa]: kern_sa.c
        src/sys/sys [wrstuden-revivesa]: savar.h

Log Message:
Clean up low locking for sa_upcall_getstate(). We now pass in
flags to indicate if we already have either the "event" and/or the
"interrupted" lwp locked. Otherwise, lock it.

Also, set l_mutex in sa_putcachelwp() so that the lwp waiting around
to handle an upcall has a valid mutex. Saves a locking-against-ourself
panic.


To generate a diff of this commit:
cvs rdiff -r1.91.2.23 -r1.91.2.24 src/sys/kern/kern_sa.c
cvs rdiff -r1.24.2.9 -r1.24.2.10 src/sys/sys/savar.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