summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2010-04-09 06:47:36 +0000
committerAlan Cox <alc@FreeBSD.org>2010-04-09 06:47:36 +0000
commitbed8aa587a8f280f7590e3f9ecd3da1278baf3e3 (patch)
tree858fe24ccf759872991a3bd1afcb49271ebb4b9c /sys
parentf76d901b0b77d934f0ae552fb9ddacd63d7602d9 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_page.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 883254fa16fc..d901cc6c6e0d 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1065,6 +1065,7 @@ vm_page_alloc(vm_object_t object, vm_pindex_t pindex, int req)
return (NULL);
#if VM_NRESERVLEVEL > 0
} else if (object == NULL || object->type == OBJT_DEVICE ||
+ object->type == OBJT_SG ||
(object->flags & OBJ_COLORED) == 0 ||
(m = vm_reserv_alloc_page(object, pindex)) == NULL) {
#else