diff options
author | Xishi Qiu <[email protected]> | 2016-04-01 14:31:20 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-04-01 17:03:37 -0500 |
commit | 6f25a14a7053b69917e2ebea0d31dd444cd31fd5 (patch) | |
tree | 48914967e96ffd5e054252cab541f15f768323ee /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 969e8d7e47f93ef693028667480558de8f70523f (diff) |
mm: fix invalid node in alloc_migrate_target()
It is incorrect to use next_node to find a target node, it will return
MAX_NUMNODES or invalid node. This will lead to crash in buddy system
allocation.
Fixes: c8721bbbdd36 ("mm: memory-hotplug: enable memory hotplug to handle hugepage")
Signed-off-by: Xishi Qiu <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: "Laura Abbott" <[email protected]>
Cc: Hui Zhu <[email protected]>
Cc: Wang Xiaoqiang <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions