summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-10-11 20:11:27 +0000
committerjhb <jhb@FreeBSD.org>2007-10-11 20:11:27 +0000
commita448c36f7e80189f16babf65dc69906ef1c3c0ee (patch)
treed39dc7cf93ace9e4bd1f68e913be37224157db02 /sys/vm
parentc80a7cd238808875211d82d4b00b7dd418070388 (diff)
downloadFreeBSD-src-a448c36f7e80189f16babf65dc69906ef1c3c0ee.zip
FreeBSD-src-a448c36f7e80189f16babf65dc69906ef1c3c0ee.tar.gz
Allow recursion on the 'zones' internal UMA zone.
Submitted by: thompsa MFC after: 1 week Approved by: re (kensmith) Discussed with: jeff
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/uma_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index eb00bfe..c32f4d7 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -1966,7 +1966,7 @@ uma_zone_slab(uma_zone_t zone, int flags)
* caller can't handle that.
*/
if (keg->uk_flags & UMA_ZFLAG_INTERNAL && keg->uk_recurse != 0)
- if ((zone != slabzone) && (zone != slabrefzone))
+ if (zone != slabzone && zone != slabrefzone && zone != zones)
return (NULL);
slab = NULL;
OpenPOWER on IntegriCloud