diff options
author | 2011-03-04 16:32:02 +0100 | |
---|---|---|
committer | 2011-03-04 16:32:37 +0100 | |
commit | 078a198906c796981f93ff100c210506e91aade5 (patch) | |
tree | 3c0c4c2cb7837aaf54a5e6592bbd20cfcfcd4c78 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | x86-64, NUMA: Clean up initmem_init() (diff) | |
download | wireguard-linux-078a198906c796981f93ff100c210506e91aade5.tar.xz wireguard-linux-078a198906c796981f93ff100c210506e91aade5.zip |
x86-64, NUMA: Don't assume phys node 0 is always online in numa_emulation()
Undetermined entries in emu_nid_to_phys[] are filled with zero
assuming that physical node 0 is always online; however, this might
not be true depending on hardware configuration. Find a physical node
which is actually online and use it instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: David Rientjes <rientjes@google.com>
LKML-Reference: <alpine.DEB.2.00.1103020628210.31626@chino.kir.corp.google.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions