aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2024-02-25 22:55:02 +0000
committerThomas Gleixner <[email protected]>2024-02-26 10:37:32 +0000
commitd9b1865c86aec7c515db5718e4820106c2c12db3 (patch)
treee5c05ebdbbad4b394c1217b9d5ac1a053e5b460a /tools/perf/scripts/python/sctop.py
parenttick: Move broadcast cancellation up to CPUHP_AP_TICK_DYING (diff)
downloadkernel-d9b1865c86aec7c515db5718e4820106c2c12db3.tar.gz
kernel-d9b1865c86aec7c515db5718e4820106c2c12db3.zip
tick: Assume the tick can't be stopped in NOHZ_MODE_INACTIVE mode
The full-nohz update function checks if the nohz mode is active before proceeding. It considers one exception though: if the tick is already stopped even though the nohz mode is inactive, it still moves on in order to update/restart the tick if needed. However in order for the tick to be stopped, the nohz_mode has to be either NOHZ_MODE_LOWRES or NOHZ_MODE_HIGHRES. Therefore it doesn't make sense to test if the tick is stopped before verifying NOHZ_MODE_INACTIVE mode. Remove the needless related condition. Signed-off-by: Frederic Weisbecker <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions