aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2024-02-13 22:05:53 +0100
committerThomas Gleixner <[email protected]>2024-02-15 22:07:43 +0100
commit7c0edad3643f4493c4dafa6f5dfcfb1a86432156 (patch)
treeb6e88ee7e910a8933a16cd10e850c04e973e7743 /tools/perf/scripts/python/bin/stackcollapse-record
parent0e53e7b656cf5aa67c08eca381cec858478195a7 (diff)
x86/cpu/topology: Rework possible CPU management
Managing possible CPUs is an unreadable and uncomprehensible maze. Aside of that it's backwards because it applies command line limits after registering all APICs. Rewrite it so that it: - Applies the command line limits upfront so that only the allowed amount of APIC IDs can be registered. - Applies eventual late restrictions in an understandable way - Uses simple min_t() calculations which are trivial to follow. - Provides a separate function for resetting to UP mode late in the bringup process. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Michael Kelley <[email protected]> Tested-by: Sohil Mehta <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions