]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sched/fair: Fix a comment reflecting function name change
authorByungchul Park <byungchul.park@lge.com>
Mon, 6 Jul 2015 12:51:02 +0000 (21:51 +0900)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Jul 2015 06:46:11 +0000 (08:46 +0200)
update_cfs_rq_load_contribution() was changed to
__update_cfs_rq_tg_load_contrib() - sync up the commit in
calc_tg_weight() too.

Signed-off-by: Byungchul Park <byungchul.park@lge.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1436187062-19658-1-git-send-email-byungchul.park@lge.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c

index 03ea05bd4c13866f518b41ab8a544320d67ab89d..587a2f67ceb17329a884d996fbf08884f245cb44 100644 (file)
@@ -2349,7 +2349,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;