sched_ext: Use update_curr_common() in update_curr_scx()
authorTejun Heo <tj@kernel.org>
Tue, 6 Aug 2024 19:40:11 +0000 (09:40 -1000)
committerTejun Heo <tj@kernel.org>
Tue, 6 Aug 2024 19:40:11 +0000 (09:40 -1000)
commit7799140b6a1697bf1d6ff80395079633f548f6e7
treee1a887c8330a4c334fa5c051cd1880cd7425c738
parentcd0144926836b8405966ca9d00f6425ef822fa4b
sched_ext: Use update_curr_common() in update_curr_scx()

update_curr_scx() is open coding runtime updates. Use update_curr_common()
instead and avoid unnecessary deviations.

Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: David Vernet <void@manifault.com>
kernel/sched/ext.c