Skip to content

Commit 03585a9

Browse files
lrq-maxIngo Molnar
authored andcommitted
sched/fair: Remove stale tg_unthrottle_up() comments
After commit: 8295836 ("sched: Replace update_shares weight distribution with per-entity computation") tg_unthrottle_up() did not update the weight. Signed-off-by: Li RongQing <lirongqing@baidu.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/lkml/1523423816-18322-1-git-send-email-lirongqing@baidu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 8f894bf commit 03585a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/sched/fair.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4732,7 +4732,6 @@ static inline int throttled_lb_pair(struct task_group *tg,
47324732
throttled_hierarchy(dest_cfs_rq);
47334733
}
47344734

4735-
/* updated child weight may affect parent so we have to do this bottom up */
47364735
static int tg_unthrottle_up(struct task_group *tg, void *data)
47374736
{
47384737
struct rq *rq = data;

0 commit comments

Comments
 (0)