diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-09-18 09:44:48 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-09-18 09:44:47 -0700 |
| commit | 5b8d95d021bdae7cfc30530ea13b9ea3c10c23df (patch) | |
| tree | 1e03c174292292c31d251552e886bdd347e15dae | |
| parent | a0c896586652afc9c72e3c268761143f608b2e52 (diff) | |
| parent | 542f97a260456f584d0030a3a7e0a125a266a5e9 (diff) | |
Merge "mm: Silence vmap() allocation failures based on caller gfp_flags"
| -rw-r--r-- | mm/vmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index ceb7d0d6db35..0db25c1bf4ee 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -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); |
