Subject: CVS commit: syssrc/sys/uvm
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 11/06/2001 10:07:53
Module Name:	syssrc
Committed By:	chs
Date:		Tue Nov  6 08:07:53 UTC 2001

Modified Files:
	syssrc/sys/uvm: uvm_anon.c uvm_aobj.c uvm_km.c uvm_loan.c uvm_loan.h
	    uvm_page.c uvm_pager.c uvm_pdaemon.c

Log Message:
several changes prompted by loaning problems:
 - fix the loaned case in uvm_pagefree().
 - redo uvmexp.swpgonly accounting to work with page loaning.
   add an assertion before each place we adjust uvmexp.swpgonly.
 - fix uvm_km_pgremove() to always free any swap space associated with
   the range being removed.
 - get rid of UVM_LOAN_WIRED flag.  instead, we just make sure that
   pages loaned to the kernel are never on the page queues.
   this allows us to assert that pages are not loaned and wired
   at the same time.
 - add yet more assertions.


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 syssrc/sys/uvm/uvm_anon.c
cvs rdiff -r1.46 -r1.47 syssrc/sys/uvm/uvm_aobj.c
cvs rdiff -r1.52 -r1.53 syssrc/sys/uvm/uvm_km.c syssrc/sys/uvm/uvm_pager.c
cvs rdiff -r1.33 -r1.34 syssrc/sys/uvm/uvm_loan.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/uvm/uvm_loan.h
cvs rdiff -r1.69 -r1.70 syssrc/sys/uvm/uvm_page.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/uvm/uvm_pdaemon.c

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