- Persist the caller's flags in the bucket allocation flags so we don't
lose a M_NOVM when we recurse into a bucket allocation. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
deb0fb926f
commit
b81bfe8f58
@ -2418,7 +2418,7 @@ zone_alloc_bucket(uma_zone_t zone, int flags)
|
||||
int max;
|
||||
|
||||
max = zone->uz_count;
|
||||
bflags = M_NOWAIT;
|
||||
bflags = (flags & ~M_WAITOK) | M_NOWAIT;
|
||||
if (zone->uz_flags & UMA_ZFLAG_CACHEONLY)
|
||||
bflags |= M_NOVM;
|
||||
bucket = bucket_alloc(zone->uz_count, bflags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user