Subject: CVS commit: syssrc/sys/arch/arm/arm32
To: None <source-changes@netbsd.org>
From: Richard Earnshaw <rearnsha@netbsd.org>
List: source-changes
Date: 10/18/2001 12:26:09
Module Name:	syssrc
Committed By:	rearnsha
Date:		Thu Oct 18 09:26:09 UTC 2001

Modified Files:
	syssrc/sys/arch/arm/arm32: vm_machdep.c

Log Message:
Don't unmap page 0 when preparing to swap out a process.  If the pmap
is shared with another process (as can happen if vfork is being used),
then that other process will end up not having a page 0, which is bad
news indeed, since then there is no way back into the kernel.

Found this using a multi-ice box, so they are useful after all!

This seems to fix pr port-arm32/11921 and (possibly) kern/9859.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/arm/arm32/vm_machdep.c

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