lkml.org 
[lkml]   [2021]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH v2 0/5] leaf_cfs_rq_list cleanups and fix
Date
Hello.

This is an extension of the simplification patch posted previously. The
original goal was to make the code a bit more readable but I noticed a
bug meanwhile and included it in the series.

Reason for RFC:
- I noticed an asymmetry in update_cfs_group(se) calls between
unthrottle_cfs_rq() and enqueue_task_fair(), not sure if the omission
is warranted. It's marked XXX in the patch "sched/fair: Simplify
ancestor enqueue loops"

Patch 1
- fix of load_cfs_rq_list handling

Patches 2, 3
- just (re)naming things

Patch 4, 5
- simplifications of load_cfs_rq_list and ancestor processing loops
- no functional changes intended



RFC v1:
https://lore.kernel.org/r/20210225162757.48858-1-mkoutny@suse.com

Michal Koutný (5):
sched/fair: Add ancestors of unthrottled undecayed cfs_rq
sched: Add group_se() helper
sched/fair: Rename leaf_list to more fitting load_list
sched/fair: Simplify load_cfs_rq_list maintenance
sched/fair: Simplify ancestor enqueue loops

kernel/sched/core.c | 4 +-
kernel/sched/fair.c | 220 +++++++++++++++++--------------------------
kernel/sched/sched.h | 25 ++---
3 files changed, 104 insertions(+), 145 deletions(-)

--
2.32.0

\
 
 \ /
  Last update: 2021-08-19 19:51    [W:0.115 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site