- 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:
Jeff Roberson 2013-06-19 02:30:32 +00:00
parent 982a0f2d8a
commit 8aaf680e90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251983

View File

@ -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);