aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2017-07-08 09:30:58 +0800
committerIngo Molnar <mingo@kernel.org>2017-07-18 11:16:49 +0200
commitd80a9eb3c78d7d0c823a8224cd6e3b37ebdfd8cd (patch)
tree3390c247ba3824b4b2603d0388fbcde9288a6ac9 /tools/perf/scripts/python
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 <richard.weiyang@gmail.com> Reviewed-by: Borislav Petkov <bp@suse.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: David Rientjes <rientjes@google.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: bp@alien8.de Cc: kirill@shutemov.name Cc: tj@kernel.org Link: http://lkml.kernel.org/r/20170708013059.29708-3-richard.weiyang@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions