[PATCH 0/2] Fix two warnings about rq clock

From: Hao Jia
Date: Mon Apr 10 2023 - 04:12:23 EST


These two patches fix two warnings about rq clock

Patch1 fixes the warning of using the old rq clock caused by
missing update rq clock.

Patch2 fixes the warning that the rq clock was updated multiple
times while holding the rq lock.

Hao Jia (2):
sched/core: Fixed missing rq clock update before calling
set_rq_offline()
sched/core: Avoid double calling update_rq_clock()

kernel/sched/core.c | 11 +++++++----
kernel/sched/fair.c | 9 ++++++---
kernel/sched/topology.c | 10 ++++++----
3 files changed, 19 insertions(+), 11 deletions(-)

--
2.37.0