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

* [tip:sched/core] sched/fair: Fix a comment reflecting function name change
  2015-07-06 12:51 [PATCH] sched: fix a comment reflecting function name changed byungchul.park
@ 2015-07-06 15:51 ` tip-bot for Byungchul Park
  2015-07-07  6:50 ` tip-bot for Byungchul Park
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Byungchul Park @ 2015-07-06 15:51 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: byungchul.park, tglx, mingo, hpa, torvalds, peterz, linux-kernel

Commit-ID:  3614d4f19d9a16e450a13f89115337ae0d6197e9
Gitweb:     http://git.kernel.org/tip/3614d4f19d9a16e450a13f89115337ae0d6197e9
Author:     Byungchul Park <byungchul.park@lge.com>
AuthorDate: Mon, 6 Jul 2015 21:51:02 +0900
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 6 Jul 2015 15:29:56 +0200

sched/fair: Fix a comment reflecting function name change

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 03ea05b..587a2f6 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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;

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

* [tip:sched/core] sched/fair: Fix a comment reflecting function name change
  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
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Byungchul Park @ 2015-07-07  6:50 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: peterz, tglx, torvalds, mingo, linux-kernel, hpa, byungchul.park

Commit-ID:  399595f248cb25dccb6044b53c47c44c174dc23d
Gitweb:     http://git.kernel.org/tip/399595f248cb25dccb6044b53c47c44c174dc23d
Author:     Byungchul Park <byungchul.park@lge.com>
AuthorDate: Mon, 6 Jul 2015 21:51:02 +0900
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 7 Jul 2015 08:46:11 +0200

sched/fair: Fix a comment reflecting function name change

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 03ea05b..587a2f6 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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;

^ 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