mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: fix a comment reflecting function name changed
@ 2015-07-06 12:51 byungchul.park
  2015-07-06 15:51 ` [tip:sched/core] sched/fair: Fix a comment reflecting function name change tip-bot for Byungchul Park
  2015-07-07  6:50 ` tip-bot for Byungchul Park
  0 siblings, 2 replies; 3+ messages in thread
From: byungchul.park @ 2015-07-06 12:51 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel, Byungchul Park

From: Byungchul Park <byungchul.park@lge.com>

update_cfs_rq_load_contribution was changed to __update_cfs_rq_tg_load_contrib.
so a comment mentioning the function should be also changed.

Signed-off-by: Byungchul Park <byungchul.park@lge.com>
---
 kernel/sched/fair.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 09456fc..e809a81 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2353,7 +2353,7 @@ static inline long calc_tg_weight(struct task_group *tg, struct cfs_rq *cfs_rq)
 	/*
 	 * Use this CPU's actual weight instead of the last load_contribution
 	 * to gain a more accurate current total weight. See
-	 * update_cfs_rq_load_contribution().
+	 * __update_cfs_rq_tg_load_contrib().
 	 */
 	tg_weight = atomic_long_read(&tg->load_avg);
 	tg_weight -= cfs_rq->tg_load_contrib;
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-07  6:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 12:51 [PATCH] sched: fix a comment reflecting function name changed byungchul.park
2015-07-06 15:51 ` [tip:sched/core] sched/fair: Fix a comment reflecting function name change tip-bot for Byungchul Park
2015-07-07  6:50 ` tip-bot for Byungchul Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome