projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/stackdepot.c: use __GFP_NOWARN for stack allocations
[cascardo/linux.git]
/
lib
/
stackdepot.c
diff --git
a/lib/stackdepot.c
b/lib/stackdepot.c
index
53ad6c0
..
60f77f1
100644
(file)
--- 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);