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

Modified Files:
	src/sys/uvm: uvm_page.c uvm_page.h uvm_page_i.h uvm_pdaemon.c
	    uvm_pglist.c
Log Message:
- Change uvm_{lock,unlock}_fpageq() to return/take the previous interrupt
  level directly, instead of making the caller wrap the calls in
  splimp()/splx().
- Add a comment documenting that interrupts that cause memory allocation
  must be blocked while the free page queue is locked.

Since interrupts must be blocked while this lock is asserted, tying them
together like this helps to prevent mistakes.

To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/sys/uvm/uvm_page.h
cvs rdiff -r1.15 -r1.16 src/sys/uvm/uvm_pdaemon.c
cvs rdiff -r1.20 -r1.21 src/sys/uvm/uvm_page.c
cvs rdiff -r1.6 -r1.7 src/sys/uvm/uvm_pglist.c
cvs rdiff -r1.9 -r1.10 src/sys/uvm/uvm_page_i.h

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