MFC: Allow recursion on the 'zones' internal UMA zone.
This commit is contained in:
parent
859d90bad0
commit
bea8fbc3a5
@ -1980,7 +1980,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user