git: kernel - Beef up vm_contig allocation checks
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Nov 8 15:43:44 PST 2011
commit 709f5959ae62a1025786662a7da3c5e1ace58805
Author: Matthew Dillon <dillon at apollo.backplane.com>
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
or dirty.
* 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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/709f5959ae62a1025786662a7da3c5e1ace58805
--
DragonFly BSD source repository
More information about the Commits
mailing list