aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2016-07-14 12:07:23 -0700
committerLinus Torvalds <[email protected]>2016-07-15 14:54:27 +0900
commitef70b6f41cda6270165a6f27b2548ed31cfa3cb2 (patch)
tree7c95bdd6a7b6426258b8791b5407736a4c423925 /tools/perf/util/trace-event-scripting.c
parente4568d3803852d00effd41dcdd489e726b998879 (diff)
mm, meminit: ensure node is online before checking whether pages are uninitialised
early_page_uninitialised looks up an arbitrary PFN. While a machine without node 0 will boot with "mm, page_alloc: Always return a valid node from early_pfn_to_nid", it works because it assumes that nodes are always in PFN order. This is not guaranteed so this patch adds robustness by always checking if the node being checked is online. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Mel Gorman <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: <[email protected]> [4.2+] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions