diff options
author | 2017-07-08 09:30:58 +0800 | |
---|---|---|
committer | 2017-07-18 11:16:49 +0200 | |
commit | d80a9eb3c78d7d0c823a8224cd6e3b37ebdfd8cd (patch) | |
tree | 3390c247ba3824b4b2603d0388fbcde9288a6ac9 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | x86/numa_emulation: Refine the calculation of max_emu_nid and dfl_phys_nid (diff) | |
download | wireguard-linux-d80a9eb3c78d7d0c823a8224cd6e3b37ebdfd8cd.tar.xz wireguard-linux-d80a9eb3c78d7d0c823a8224cd6e3b37ebdfd8cd.zip |
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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions