Merge "lib/stackdepot.c: use __GFP_NOWARN for stack allocations"

This commit is contained in:
Linux Build Service Account 2017-09-07 00:46:03 -07:00 committed by Gerrit - the friendly Code Review server
commit 329b7b4c99

View file

@ -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);