Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Tohru Nishimura <nisimura@netbsd.org>
List: source-changes
Date: 05/08/2001 09:02:15
Module Name:	syssrc
Committed By:	nisimura
Date:		Tue May  8 06:02:15 UTC 2001

Modified Files:
	syssrc/sys/arch/mips/mips: vm_machdep.c

Log Message:
Add comment to tell what cpu_fork() does around at its bottom.

What's wrong; the initial SR value in pcb0 gets overwritten before
the first kthread_create1() is called.  For a normal process which
has user mode it doesn't matter because proc_trampoline() makes
the process to have spl0 during exception return path to user mode,
however, kthreads stay in kernel mode mistakenly left in splhigh
condition.  The trouble is visible as severe clock drifts when
system activity is high.


To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 syssrc/sys/arch/mips/mips/vm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.