aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVlastimil Babka <[email protected]>2015-09-08 15:03:56 -0700
committerLinus Torvalds <[email protected]>2015-09-08 15:35:28 -0700
commit82c1fc714763b823169958a98196d9be56c63b30 (patch)
tree270b7eb14f7a6b14fe1afd17b3f41ecabe09f26f /tools/perf/scripts/python/stackcollapse.py
parent0bc35a970c01c50e3bcc4b5a612787346024e5db (diff)
mm: use numa_mem_id() in alloc_pages_node()
alloc_pages_node() might fail when called with NUMA_NO_NODE and __GFP_THISNODE on a CPU belonging to a memoryless node. To make the local-node fallback more robust and prevent such situations, use numa_mem_id(), which was introduced for similar scenarios in the slab context. Suggested-by: Christoph Lameter <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]> Acked-by: David Rientjes <[email protected]> Acked-by: Mel Gorman <[email protected]> Acked-by: Christoph Lameter <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions