summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-09-07 00:46:03 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-07 00:46:03 -0700
commit329b7b4c990e977ab88f6d480461dfb76068d4bd (patch)
treed6ad01b0d93a77e1389c419bc828fda7df3f5d0c
parentb864286bdb88dda9170c9d088bc9bee1eb0cfd34 (diff)
parent042adcefd0887c42039ba8856928046c3b60ca22 (diff)
Merge "lib/stackdepot.c: use __GFP_NOWARN for stack allocations"
-rw-r--r--lib/stackdepot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stackdepot.c b/lib/stackdepot.c
index 192134b225ca..076eb03e316b 100644
--- a/lib/stackdepot.c
+++ b/lib/stackdepot.c
@@ -242,6 +242,7 @@ depot_stack_handle_t depot_save_stack(struct stack_trace *trace,
*/
alloc_flags &= ~GFP_ZONEMASK;
alloc_flags &= (GFP_ATOMIC | GFP_KERNEL);
+ alloc_flags |= __GFP_NOWARN;
page = alloc_pages(alloc_flags, STACK_ALLOC_ORDER);
if (page)
prealloc = page_address(page);