Source-Changes archive

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

CVS commit: [wrstuden-revivesa] src/sys/kern



Module Name:    src
Committed By:   wrstuden
Date:           Sat Jun 28 21:35:03 UTC 2008

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

Log Message:
While we can't use sa_mutex for the upcall list, some of the
sa_mutex locking calls were needed as we were getting stacks. Put
them back.

Clean up vestigial code that tries to use p_lock instead of sa_mutex.
Clean up some other warts in sa_increaseconcurrency.

Comment out some code that modified the # of lwps in the process.
We didn't copy that behavior from 4.0 yet as it will need an
auditing of the rest of the kernel.

If sa_switchcall comes back from mi_switch, exit. The only two ways
out of the lwp cache are either getting re-used (including cpu_setfunc())
or the process's exiting.


To generate a diff of this commit:
cvs rdiff -r1.91.2.26 -r1.91.2.27 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