diff options
author | Dou Liyang <[email protected]> | 2016-09-07 10:21:33 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-09-08 08:11:03 +0200 |
commit | c291b015158577be533dd5a959dfc09bab119eed (patch) | |
tree | b91e42c318b00d6fd80dd8ade3ef026a85070654 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | db91e2370e087967cb6b6425c092188767fb5e00 (diff) |
x86/apic: Fix num_processors value in case of failure
If the topology package map check of the APIC ID and the CPU is a failure,
we don't generate the processor info for that APIC ID yet we increase
disabled_cpus by one - which is buggy.
Only increase num_processors once we are sure we don't fail.
Signed-off-by: Dou Liyang <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Rewrote the changelog. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions