summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-10-04 14:21:53 +0000
committerjeff <jeff@FreeBSD.org>2003-10-04 14:21:53 +0000
commit25821dd99f26f818539e18967bd966b06a09740a (patch)
treedaa1daa2024b91e602d51274dc283066307cc1c6 /sys/vm/vm_object.c
parent9dd2ea10ce86d318cec24de71cd086fc4d3170ff (diff)
downloadFreeBSD-src-25821dd99f26f818539e18967bd966b06a09740a.zip
FreeBSD-src-25821dd99f26f818539e18967bd966b06a09740a.tar.gz
- Use the UMA_ZONE_VM flag on the fakepg and object zones to prevent
vm recursion and LORs. This may be necessary for other zones created in the vm but this needs to be verified.
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 9d01be2..1f0f9ca 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -250,7 +250,7 @@ vm_object_init(void)
#else
NULL,
#endif
- vm_object_zinit, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
+ vm_object_zinit, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM|UMA_ZONE_NOFREE);
uma_prealloc(obj_zone, VM_OBJECTS_INIT);
}
OpenPOWER on IntegriCloud