summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorXin Zhao <jackzxcui1989@163.com>2026-06-17 15:21:51 +0800
committerPeter Zijlstra <peterz@infradead.org>2026-06-30 10:56:56 +0200
commitf2267ad5777f36319eeb765afbf015344b24fec2 (patch)
tree5ad2e51b6c374c1a45d465e8c4c8b55d4f8875ff /tools/perf/scripts/python/stackcollapse.py
parentcdd9e37ed46ac1a80c1c9d4ec430096a0f1c419c (diff)
sched/fair: Simplify balance_interval reset logic in sched_balance_rq()
Because active_balance is initialized to 0, and need_active_balance() is a pre-condition for setting it to 1, the condition '!active_balance || need_active_balance()' is a truism and can be removed. Signed-off-by: Xin Zhao <jackzxcui1989@163.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260617072151.1173416-3-jackzxcui1989@163.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions