Subject: CVS commit: syssrc/sys/uvm
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 05/29/2002 22:20:12
Module Name:	syssrc
Committed By:	drochner
Date:		Wed May 29 19:20:12 UTC 2002

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

Log Message:
Add another allocator to uvm_pglistalloc() which is used in the case where
no alignment / boundary / nsegs restrictions apply.
This one doesn't insist in a contigous range, and it honours the "waitok"
flag, thus succeeds in situations which were hopeless with the existing one.

(A solution which searches for a minimum number of contiguous ranges using
some best-fit or so algorithm would be expensive to implement; I believe the
"either-or" done here does reflect the current use by bus_dma quite well.)

Now agp memory allocation is robust for me. (tested on i810)


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 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.