Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <firstname.lastname@example.org>
Date: 10/26/2005 06:24:04
Module Name: src
Committed By: chs
Date: Wed Oct 26 06:24:04 UTC 2005
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.