summaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorJohannes Weiner2017-05-03 23:53:48 +0200
committerLinus Torvalds2017-05-04 00:52:09 +0200
commit822519634142cb66614514ac8ee9221868f764bb (patch)
treec71aab42c56f2cebd473e5b92074ca6afe9db6f1 /mm/sparse.c
parentmm, vmscan: prevent kswapd sleeping prematurely due to mismatched classzone_idx (diff)
downloadkernel-qcow2-linux-822519634142cb66614514ac8ee9221868f764bb.tar.gz
kernel-qcow2-linux-822519634142cb66614514ac8ee9221868f764bb.tar.xz
kernel-qcow2-linux-822519634142cb66614514ac8ee9221868f764bb.zip
mm: page_alloc: __GFP_NOWARN shouldn't suppress stall warnings
__GFP_NOWARN, which is usually added to avoid warnings from callsites that expect to fail and have fallbacks, currently also suppresses allocation stall warnings. These trigger when an allocation is stuck inside the allocator for 10 seconds or longer. But there is no class of allocations that can get legitimately stuck in the allocator for this long. This always indicates a problem. Always emit stall warnings. Restrict __GFP_NOWARN to alloc failures. Link: http://lkml.kernel.org/r/20170125181150.GA16398@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Minchan Kim <minchan@kernel.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions