diff options
author | Peter Zijlstra <[email protected]> | 2013-11-06 18:47:57 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-11-13 13:33:52 +0100 |
commit | 5eca82a9ac2c961cfbd26a4b6f43e6e3747a71dd (patch) | |
tree | c63a3495a562c32b447bd4dec093eca98e9a584b /tools/perf/util/trace-event-scripting.c | |
parent | 46a73e8a1c1720f7713b5e2df68e9dd272015b5d (diff) |
sched/numa: Cure update_numa_stats() vs. hotplug
Because we're completely unserialized against hotplug its well
possible to try and generate numa stats for an offlined node.
Bail out early (and avoid a /0) in this case. The resulting stats are
all 0 which should result in an undesirable balance target -- not to
mention that actually trying to migrate to an offline CPU will fail.
Reported-by: Prarit Bhargava <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Mel Gorman <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions