Skip to content

sched/rt: Move sched_rt_entity::back to CONFIG_RT_GROUP_SCHED

Yajun Deng lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyIn review
  2. v12 patches 5 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched/rt: Introduce for_each_sched_rt_entity_back() & use itkernel/sched/rt.c+8 -10 replies
2/3sched/rt: Init 'back' in init_tg_rt_entrykernel/sched/rt.c+4 -40 replies
3/3sched/headers: Move sched_rt_entity::back to under the CONFIG_RT_GROUP_SCHED blockinclude/linux/sched.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 0/3] sched/rt: Move sched_rt_entity::back to CONFIG_RT_GROUP_SCHED

The member back in struct sched_rt_entity only related to RT_GROUP_SCHED, it should not place out of RT_GROUP_SCHED, move back to RT_GROUP_SCHED. It will save a few bytes.

The 1st patch is introduce for_each_sched_rt_entity_back() & use it, it no functional changes.

The 2nd patch is init 'back' in init_tg_rt_entry, it remove the call to back when CONFIG_RT_GROUP_SCHED is disabled.

The 3rd patch is move sched_rt_entity::back to under the CONFIG_RT_GROUP_SCHED block, it will save a few bytes.

Yajun Deng (3):
sched/rt: Introduce for_each_sched_rt_entity_back() & use it sched/rt: Init 'back' in init_tg_rt_entry sched/headers: Move sched_rt_entity::back to under the
CONFIG_RT_GROUP_SCHED block

 include/linux/sched.h |  2 +-
 kernel/sched/rt.c     | 17 ++++++++++++-----
 2 files changed, 13 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1