aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2017-07-08 09:30:58 +0800
committerIngo Molnar <[email protected]>2017-07-18 11:16:49 +0200
commitd80a9eb3c78d7d0c823a8224cd6e3b37ebdfd8cd (patch)
tree3390c247ba3824b4b2603d0388fbcde9288a6ac9 /tools/perf/scripts/python/export-to-postgresql.py
parent158f424f427e686816bc64cd623e3bfc3390dfb0 (diff)
x86/numa_emulation: Assign physnode_mask directly from numa_nodes_parsed
numa_init() has already called init_func(), which is responsible for setting numa_nodes_parsed, so use this nodemask instead of re-finding it when calling numa_emulation(). This patch gets the physnode_mask directly from numa_nodes_parsed. At the same time, it corrects the comment of these two functions. Signed-off-by: Wei Yang <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions