summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/88pm800.c
diff options
context:
space:
mode:
authorDavid Rientjes2017-02-23 00:46:28 +0100
committerLinus Torvalds2017-02-23 01:41:30 +0100
commit685dbf6f5a643c4bdb9323ee3544ec652505d2ea (patch)
tree2d4d5853126589958b4632b71041822478b9ab4f /drivers/mfd/88pm800.c
parentmm: help __GFP_NOFAIL allocations which do not trigger OOM killer (diff)
downloadkernel-qcow2-linux-685dbf6f5a643c4bdb9323ee3544ec652505d2ea.tar.gz
kernel-qcow2-linux-685dbf6f5a643c4bdb9323ee3544ec652505d2ea.tar.xz
kernel-qcow2-linux-685dbf6f5a643c4bdb9323ee3544ec652505d2ea.zip
mm, page_alloc: warn_alloc nodemask is NULL when cpusets are disabled
The patch "mm, page_alloc: warn_alloc print nodemask" implicitly sets the allocation nodemask to cpuset_current_mems_allowed when there is no effective mempolicy. cpuset_current_mems_allowed is only effective when cpusets are enabled, which is also printed by warn_alloc(), so setting the nodemask to cpuset_current_mems_allowed is redundant and prevents debugging issues where ac->nodemask is not set properly in the page allocator. This provides better debugging output since cpuset_print_current_mems_allowed() is already provided. Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1701181347320.142399@chino.kir.corp.google.com Signed-off-by: David Rientjes <rientjes@google.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd/88pm800.c')
0 files changed, 0 insertions, 0 deletions