summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authornisimura <nisimura@NetBSD.org>2000-03-25 10:14:13 +0000
committernisimura <nisimura@NetBSD.org>2000-03-25 10:14:13 +0000
commit61609b54e2b3242093fb7755e9c79f19e885ae36 (patch)
tree54abcf04da16afb65cbbc1c98c04c59c3ba4b858 /sys/dev/raidframe
parent9893633d57ced84be2775a047d522b228fe11a26 (diff)
Make sure proc0 PCB has spl0 condition in CP0 status register field.
cpu_fork() mistakenly created processes forked by proc0, including kthreads, in splhigh condition, because [1] proc0's PCB was zero cleared during initialization, and [2] value 0 in status register field made processes to have splhigh condition when CPU tick was assigned for them. This mostly doesn't matter as forked processes dive immediately into user mode through proc_trampoline code path, however, kthreads never do that and remain in splhigh. Reported by Ethan Solomita <ethan@geocast.com>.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions