Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/kern
Module Name: src
Committed By: chs
Date: Wed Oct 26 06:24:04 UTC 2005
Modified Files:
src/sys/kern: kern_sa.c
Log Message:
in sa_switch(), if after we set up the LWP with cpu_setfunc(), we decide that
we can't do an SA context switch after all, we need to clear the sau from
the LWP's arg. sa_switch() frees the sau in this case, but if we don't
reset the LWP's state and the process exits, then the exiting LWP will
try to free the sau again.
also, change the sadebug printf stuff to use printf_nolog(), since
otherwise we deadlock because we're already holding sched_lock and
the normal printf() will try to wakeup the log reader.
To generate a diff of this commit:
cvs rdiff -r1.67 -r1.68 src/sys/kern/kern_sa.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