Skip to content

sched/core: Avoid obvious double update_rq_clock warning

Hao Jia lkml 4 versions – Applied

Status from this message: I've picked them up, shall push them to tip soonish.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesApplied
  2. v32 patches 3 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch7 repliesSuperseded

Changes in v4 from the cover letter

- Modify some code formats and commit messages.
- Add Reviewed-by: Dietmar Eggemann <[email protected]> for patch 1.
- Add Reviewed-by: Daniel Bristot de Oliveira <[email protected]> for patch 2.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2sched/core: Avoid obvious double update_rq_clock warningkernel/sched/core.c kernel/sched/deadline.c kernel/sched/rt.c +1 more+33 -110 replies
2/2sched/deadline: Remove superfluous rq clock update in push_dl_task()kernel/sched/deadline.c+1 -70 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDietmar EggemannDaniel Bristot de Oliveira
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] sched/core: Avoid obvious double update_rq_clock warning

These two patches are about the kernel scheduler:

patch 1: fixed the issue that kernel may trigger WARN_DOUBLE_CLOCK warning. patch 2: removed some no longer needed comments in the deadline scheduler and cleaned up the code.

Thanks for suggestion from Dietmar Eggemann & Peter Zijlstra.

v3->v4:
- Modify some code formats and commit messages.
- Add Reviewed-by: Dietmar Eggemann <[email protected]> for patch 1.
- Add Reviewed-by: Daniel Bristot de Oliveira <[email protected]> for patch 2.

v2->v3:
- Modify some descriptions and errors in the commit information.
- Fixed a bug that might trigger the WARN_DOUBLE_CLOCK warning in

     migrate_task_rq_dl().

- Add Reviewed-by: Dietmar Eggemann <[email protected]> for patch 2.

v1->v2:
- Added double_rq_clock_clear_update inline helper to clear RQCF_UPDATED

     of rq->clock_update_flags.

- split into two separate patches.

[v1] https://lore.kernel.org/lkml/[email protected]/
[v2] https://lore.kernel.org/lkml/[email protected]/
[v3] https://lore.kernel.org/all/[email protected]/

Hao Jia (2):
sched/core: Avoid obvious double update_rq_clock warning sched/deadline: Remove superfluous rq clock update in push_dl_task()

 kernel/sched/core.c     |  6 +++---
 kernel/sched/deadline.c | 13 ++++---------
 kernel/sched/rt.c       |  5 +++--
 kernel/sched/sched.h    | 28 ++++++++++++++++++++++++----
 4 files changed, 34 insertions(+), 18 deletions(-)
Signature · 1 line
2.32.0