Merge "lib/stackdepot.c: use __GFP_NOWARN for stack allocations"
This commit is contained in:
commit
329b7b4c99
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ depot_stack_handle_t depot_save_stack(struct stack_trace *trace,
|
||||||
*/
|
*/
|
||||||
alloc_flags &= ~GFP_ZONEMASK;
|
alloc_flags &= ~GFP_ZONEMASK;
|
||||||
alloc_flags &= (GFP_ATOMIC | GFP_KERNEL);
|
alloc_flags &= (GFP_ATOMIC | GFP_KERNEL);
|
||||||
|
alloc_flags |= __GFP_NOWARN;
|
||||||
page = alloc_pages(alloc_flags, STACK_ALLOC_ORDER);
|
page = alloc_pages(alloc_flags, STACK_ALLOC_ORDER);
|
||||||
if (page)
|
if (page)
|
||||||
prealloc = page_address(page);
|
prealloc = page_address(page);
|
||||||
|
|
Loading…
Add table
Reference in a new issue