Subject: CVS commit: syssrc/sys/uvm
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 06/27/2002 21:05:31
Module Name: syssrc
Committed By: drochner
Date: Thu Jun 27 18:05:30 UTC 2002
Modified Files:
syssrc/sys/uvm: uvm_pglist.c
Log Message:
Big cleanup and speed improvements to pglist_alloc code:
-pass vm_physseg* instead of physseg index, and PFN (int) instead
of physical address (could be done even more)
-simplify detection of boundary crossing and behave more intelligently
in this case
-take stuff out of the inner loops, or put into "#ifdef DEBUG"
(because we move along physsegs we don't need to check that the
pages are physically contigous)
-make the "simple" and "contigous" branches look more uniform; at
least the outer loops might coalesce one day
To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 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.