Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 05/24/1999 16:30:45
Module Name:	src
Committed By:	thorpej
Date:		Mon May 24 23:30:45 UTC 1999

Modified Files:
	src/sys/uvm: uvm_pager.c
Log Message:
Don't use pmap_kenter_pgs() for entering pager_map mappings.  The pages
are still owned by the object which is paging, and so the test for a kernel
object in uvm_unmap_remove() will cause pmap_remove() to be used instead
of pmap_kremove().

This was a MAJOR source of pmap_remove() vs pmap_kremove() inconsistency
(which caused the busted kernel pmap statistics, and a cause of much
locking hair on MP systems).

To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/uvm/uvm_pager.c

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