DragonFly commits List (threaded) for 2011-11
git: kernel - Beef up vm_contig allocation checks
Author: Matthew Dillon <firstname.lastname@example.org>
Date: Tue Nov 8 15:38:16 2011 -0800
kernel - Beef up vm_contig allocation checks
* Beef up vm_contig allocation checks by also requiring the PQ_CACHE page
to not be held or wired or unmanaged, and assert that it is not mapped
* When utilizing PQ_FREE pages ignore any held pages and assert that
the pages are not dirty in addition to not having an object.
* Do not clear PG_SBUSY when allocating a page (though it shouldn't be set
anyway, we still shouldn't unconditionally clear the bit).
Summary of changes:
sys/vm/vm_contig.c | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
DragonFly BSD source repository