Subject: CVS commit: syssrc/sys/uvm
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 07/15/2002 02:53:42
Module Name:	syssrc
Committed By:	chs
Date:		Sun Jul 14 23:53:41 UTC 2002

Modified Files:
	syssrc/sys/uvm: uvm_loan.c

Log Message:
when dropping a kernel loan, if this was the last loan-to-kernel but
the page is still loaned to an anon, we should put the page back on a
paging queue.  this is because while pages loaned to the kernel really
do need to stay resident (since the kernel is accessing the physical
memory directly), pages loaned to anons can be paged out just fine.
(the page will be paged out twice, first to the object and then again
to the anon, but after that the page can be reused.)


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 syssrc/sys/uvm/uvm_loan.c

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