Improve the contigmalloc() memory allocator. Fix a starting index bug,
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 22 Feb 2005 21:35:33 +0000 (21:35 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 22 Feb 2005 21:35:33 +0000 (21:35 +0000)
commitec59a78193eb880421d68925978b81dd74414aff
tree7bd67ba84299a9b198bd2f1f220ed950a73715fa
parentc1ceae6a097e459ebbbbc21b88be6f45c3fb1d70
Improve the contigmalloc() memory allocator.  Fix a starting index bug,
fix an endless loop bug (do not retry forever), try harder to clean
active pages, and add a third pass.  contigmalloc() is still as nasty as
it has always been but this improves matters considerably.

Submitted-by: Andrew Atrens <atrens@nortel.com>
sys/vm/vm_contig.c
sys/vm/vm_page.h