diff options
author | Valentin Schneider <[email protected]> | 2019-09-23 10:30:17 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-09-25 17:42:32 +0200 |
commit | 9fc41acc89e58262c917b4be89ef00a87485804f (patch) | |
tree | 8bc1826a34717ce758d283ffa26c779aeea49ba1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a49b4f4012ef233143c5f7ce44f97851e54d5ef9 (diff) |
sched/core: Remove double update_max_interval() call on CPU startup
update_max_interval() is called in both CPUHP_AP_SCHED_STARTING's startup
and teardown callbacks, but it turns out it's also called at the end of
the startup callback of CPUHP_AP_ACTIVE (which is further down the
startup sequence).
There's no point in repeating this interval update in the startup sequence
since the CPU will remain online until it goes down the teardown path.
Remove the redundant call in sched_cpu_activate() (CPUHP_AP_ACTIVE).
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions