diff options
| author | Hao Jia <[email protected]> | 2023-06-13 08:20:10 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2023-06-16 20:08:12 +0000 |
| commit | 96500560f0c73c71bca1b27536c6254fa0e8ce37 (patch) | |
| tree | ed3e7df0aa513bc5a2395ce2680bbe444e09b2b6 /drivers/clocksource/hyperv_timer.c | |
| parent | sched/core: Fixed missing rq clock update before calling set_rq_offline() (diff) | |
| download | kernel-96500560f0c73c71bca1b27536c6254fa0e8ce37.tar.gz kernel-96500560f0c73c71bca1b27536c6254fa0e8ce37.zip | |
sched/core: Avoid double calling update_rq_clock() in __balance_push_cpu_stop()
There is a double update_rq_clock() invocation:
__balance_push_cpu_stop()
update_rq_clock()
__migrate_task()
update_rq_clock()
Sadly select_fallback_rq() also needs update_rq_clock() for
__do_set_cpus_allowed(), it is not possible to remove the update from
__balance_push_cpu_stop(). So remove it from __migrate_task() and
ensure all callers of this function call update_rq_clock() prior to
calling it.
Signed-off-by: Hao Jia <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions
