diff --git a/lib/stackdepot.c b/lib/stackdepot.c index 53ad6c0831aebe6d3c9ec7cfc1387fa34ca7ea72..60f77f1d470a0589ccdeacbb52a9eb45a8a1cec1 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);