Date: Wed, 15 Jan 1997 10:58:43 -0800 (PST) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_fork.c Message-ID: <199701151858.KAA17093@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 97/01/15 10:58:43 Modified: sys/kern kern_fork.c Log: Fixed interrupt unmasking for child processes which I broke in rev.1.10 two years ago. Children continued to run at splhigh() after returning from vm_fork(). This mainly affected kernel processes and init. For ordinary processes, interrupts are normally unmasked a few instructions later after fork() returns (it may be important for syscall() not to reschedule the child processes). Kernel processes had workarounds for the problem. Init manages to start because some routines "know" that it is safe to go to sleep despite their caller starting them at a high ipl. Then its ipl gets fixed on its first normal return from a syscall. Revision Changes Path 1.29 +1 -0 src/sys/kern/kern_fork.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701151858.KAA17093>