Skip to content

A couple of sched_getattr() fixes for DL

Quentin Perret lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2sched/deadline: Fix reset_on_fork reporting of DL taskskernel/sched/deadline.c kernel/sched/sched.h+6 -31 reply
2/2sched: Don't report SCHED_FLAG_SUGOV in sched_getattr()kernel/sched/core.c+1 -05 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDietmar Eggemann
1/2R-b
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] A couple of sched_getattr() fixes for DL

Hi all,

In the context of [1] it became apparent that the way __getparam_dl() copies the sched_flags into the dl_entity struct for deadline tasks can have undesirable side effects. This series fixes two issues in that area causing sched_getattr() to report stale values or things it shouldn't report to userspace.

Thanks,
Quentin

[1] https://lore.kernel.org/lkml/[email protected]/

Quentin Perret (2):
sched/deadline: Fix reset_on_fork reporting of DL tasks
sched: Don't report SCHED_FLAG_SUGOV in sched_getattr()

 kernel/sched/core.c     | 1 +
 kernel/sched/deadline.c | 7 ++++---
 kernel/sched/sched.h    | 2 ++
 3 files changed, 7 insertions(+), 3 deletions(-)
Signature · 1 line
2.32.0.432.gabb21c7263-goog