Subject: CVS commit: src/sys/uvm
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 04/06/2005 13:51:33
Module Name: src
Committed By: yamt
Date: Wed Apr 6 13:51:33 UTC 2005
Modified Files:
src/sys/uvm: uvm_swap.c
Log Message:
switch swap space allocation code to use blist instead of extent(9).
fix "warning: resource shortage: %d pages of swap lost".
extent(9) has some undesirable characteristics for swap allocation:
- it involves alloc-to-free.
- its operational cost is O(n*n) where n is number of entries.
To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/sys/uvm/uvm_swap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.