- 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
982a0f2d8a
commit
8aaf680e90
@ -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