Subject: CVS commit: src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 01/09/2004 08:49:42
Module Name:	src
Committed By:	chs
Date:		Fri Jan  9 08:49:42 UTC 2004

Modified Files:
	src/sys/arch/sparc64/sparc64: pmap.c

Log Message:
make sure we free the context for the pmap in pmap_destroy().
this usually isn't necessary since we freed it earlier in pmap_remove_all(),
but since uvmspace_free() is now called in the context of the exiting
process, a new context might be allocated if uvm_unmap_detach() decides
to sleep (since cpu_switch() will allocate a new context when it switches
back to the exiting process).


To generate a diff of this commit:
cvs rdiff -r1.152 -r1.153 src/sys/arch/sparc64/sparc64/pmap.c

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