Merge "mm: Silence vmap() allocation failures based on caller gfp_flags"
This commit is contained in:
commit
5b8d95d021
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ overflow:
|
|||
purged = 1;
|
||||
goto retry;
|
||||
}
|
||||
if (printk_ratelimit())
|
||||
if (!(gfp_mask & __GFP_NOWARN) && printk_ratelimit())
|
||||
pr_warn("vmap allocation for size %lu failed: use vmalloc=<size> to increase size\n",
|
||||
size);
|
||||
kfree(va);
|
||||
|
|
Loading…
Add table
Reference in a new issue