Subject: CVS commit: syssrc/sys/uvm
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 06/18/2002 18:49:49
Module Name:	syssrc
Committed By:	drochner
Date:		Tue Jun 18 15:49:48 UTC 2002

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

Log Message:
Make the DMA memory allocators (uvm_pglistalloc())
obey the preferences expressed by freelist assignment,
to avoid wasting valuable "low memory" to devices which
don't really need it.
comments:
-I'm not sure searching the physsegs within a freelist
 beginning with the biggest is the right thing. This is
 what the "memory steal" code in uvm_page.c does, so
 keep it consistent.
-There seems to be some confusion whether the upper
 address limit passed is inclusive or not. Stays on
 the save side, possibly leaving one page out.
-The boundary/pagemask check can be simplified, also some
 arguments passed are only used for diagnostic checks.
-Integration with UVM_PAGE_TRKOWN???


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 syssrc/sys/uvm/uvm_pglist.c

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