aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2017-02-22 23:46:28 +0000
committerLinus Torvalds <[email protected]>2017-02-23 00:41:30 +0000
commit685dbf6f5a643c4bdb9323ee3544ec652505d2ea (patch)
tree2d4d5853126589958b4632b71041822478b9ab4f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentmm: help __GFP_NOFAIL allocations which do not trigger OOM killer (diff)
downloadkernel-685dbf6f5a643c4bdb9323ee3544ec652505d2ea.tar.gz
kernel-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/[email protected] Signed-off-by: David Rientjes <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions