projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f894bf
)
sched/fair: Remove stale tg_unthrottle_up() comments
author
Li RongQing
<lirongqing@baidu.com>
Wed, 11 Apr 2018 05:16:56 +0000
(13:16 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 21 Jun 2018 15:58:22 +0000
(17:58 +0200)
After commit:
82958366cfea
("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>
kernel/sched/fair.c
patch
|
blob
|
history
diff --git
a/kernel/sched/fair.c
b/kernel/sched/fair.c
index 1866e64792a791f8737128c88ae691d7453ff117..4cc1441b074680eee23ed631905053e53bf97932 100644
(file)
--- a/
kernel/sched/fair.c
+++ b/
kernel/sched/fair.c
@@
-4732,7
+4732,6
@@
static inline int throttled_lb_pair(struct task_group *tg,
throttled_hierarchy(dest_cfs_rq);
}
-/* updated child weight may affect parent so we have to do this bottom up */
static int tg_unthrottle_up(struct task_group *tg, void *data)
{
struct rq *rq = data;