DragonFly commits List (threaded) for 2011-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Beef up vm_contig allocation checks
commit 709f5959ae62a1025786662a7da3c5e1ace58805
Author: Matthew Dillon <dillon@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]