aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-07-22 21:58:41 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-07-22 21:58:41 -0700
commit7913f9d9a74d64f32c3c3eaec12fd8daed3099bb (patch)
tree92b78bacea955e7ff45fab52163f6ade36ce2bce
parent66f6057d60e824360b1fdaf5b63278d4dc2ead24 (diff)
parent8473beef05459afa1ca9c37835bd867709818335 (diff)
Merge "mm: Silence vmap() allocation failures based on caller gfp_flags" into kernel.lnx.4.9.r23-relLE.UM.2.3.3.r1-00600-QCS605.0
-rw-r--r--mm/vmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 7b3865c18a9b..6b5f0bce0bd2 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -543,7 +543,7 @@ overflow:
}
}
- 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);