Subject: CVS commit: syssrc/sys/uvm
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 12/31/2001 21:21:40
Module Name:	syssrc
Committed By:	chs
Date:		Mon Dec 31 19:21:39 UTC 2001

Modified Files:
	syssrc/sys/uvm: uvm_loan.c uvm_map.c uvm_page.c uvm_pager.c
	    uvm_pdaemon.c

Log Message:
fix locking for loaning.  in general we should be looking at the page's
uobject and uanon pointers rather than at the PQ_ANON flag to determine
which lock to hold, since PQ_ANON can be clear even when the anon's lock
is the one which we should hold (if the page was loaned from an object
and then freed by the object).


To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 syssrc/sys/uvm/uvm_loan.c
cvs rdiff -r1.114 -r1.115 syssrc/sys/uvm/uvm_map.c
cvs rdiff -r1.72 -r1.73 syssrc/sys/uvm/uvm_page.c
cvs rdiff -r1.54 -r1.55 syssrc/sys/uvm/uvm_pager.c
cvs rdiff -r1.43 -r1.44 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.