27efeb0d30
in mi_switch() just before calling cpu_switch() so that the first switch after a resched request will satisfy the request. - While I'm at it, move a few things into mi_switch() and out of cpu_switch(), specifically set the p_oncpu and p_lastcpu members of proc in mi_switch(), and handle the sched_lock state change across a context switch in mi_switch(). - Since cpu_switch() no longer handles the sched_lock state change, we have to setup an initial state for sched_lock in fork_exit() before we release it. |
||
---|---|---|
.. | ||
alpha | ||
conf | ||
include | ||
isa | ||
linux | ||
mcbus | ||
osf1 | ||
pci | ||
tc | ||
tlsb | ||
Makefile |