linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sched/fair: trivial correction of the comment of newidle_balance
@ 2020-12-02 22:06 Barry Song
  2020-12-03  9:13 ` [tip: sched/core] sched/fair: Trivial correction of the newidle_balance() comment tip-bot2 for Barry Song
  2020-12-11  9:34 ` tip-bot2 for Barry Song
  0 siblings, 2 replies; 3+ messages in thread
From: Barry Song @ 2020-12-02 22:06 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot, dietmar.eggemann,
	rostedt, bsegall, mgorman, bristot, trivial
  Cc: linux-kernel, linuxarm, Barry Song

idle_balance() has been renamed to newidle_balance(). To differentiate
with nohz_idle_balance, it seems refining the comment will be helpful
for the readers of the code.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.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 ae7ceba8fd4f..c1f86b8bdfda 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10505,7 +10505,7 @@ static inline void nohz_newidle_balance(struct rq *this_rq) { }
 #endif /* CONFIG_NO_HZ_COMMON */
 
 /*
- * idle_balance is called by schedule() if this_cpu is about to become
+ * newidle_balance is called by schedule() if this_cpu is about to become
  * idle. Attempts to pull tasks from other CPUs.
  *
  * Returns:
-- 
2.25.1


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

* [tip: sched/core] sched/fair: Trivial correction of the newidle_balance() comment
  2020-12-02 22:06 [PATCH] sched/fair: trivial correction of the comment of newidle_balance Barry Song
@ 2020-12-03  9:13 ` tip-bot2 for Barry Song
  2020-12-11  9:34 ` tip-bot2 for Barry Song
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Barry Song @ 2020-12-03  9:13 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Barry Song, Peter Zijlstra (Intel), x86, linux-kernel

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     21bf7cbd1b100758cc82f5340576028d3d83119b
Gitweb:        https://git.kernel.org/tip/21bf7cbd1b100758cc82f5340576028d3d83119b
Author:        Barry Song <song.bao.hua@hisilicon.com>
AuthorDate:    Thu, 03 Dec 2020 11:06:41 +13:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Thu, 03 Dec 2020 10:00:36 +01:00

sched/fair: Trivial correction of the newidle_balance() comment

idle_balance() has been renamed to newidle_balance(). To differentiate
with nohz_idle_balance, it seems refining the comment will be helpful
for the readers of the code.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201202220641.22752-1-song.bao.hua@hisilicon.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 efac224..04a3ce2 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10550,7 +10550,7 @@ static inline void nohz_newidle_balance(struct rq *this_rq) { }
 #endif /* CONFIG_NO_HZ_COMMON */
 
 /*
- * idle_balance is called by schedule() if this_cpu is about to become
+ * newidle_balance is called by schedule() if this_cpu is about to become
  * idle. Attempts to pull tasks from other CPUs.
  *
  * Returns:

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

* [tip: sched/core] sched/fair: Trivial correction of the newidle_balance() comment
  2020-12-02 22:06 [PATCH] sched/fair: trivial correction of the comment of newidle_balance Barry Song
  2020-12-03  9:13 ` [tip: sched/core] sched/fair: Trivial correction of the newidle_balance() comment tip-bot2 for Barry Song
@ 2020-12-11  9:34 ` tip-bot2 for Barry Song
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Barry Song @ 2020-12-11  9:34 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Barry Song, Peter Zijlstra (Intel), Ingo Molnar, x86, linux-kernel

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     5b78f2dc315354c05300795064f587366a02c6ff
Gitweb:        https://git.kernel.org/tip/5b78f2dc315354c05300795064f587366a02c6ff
Author:        Barry Song <song.bao.hua@hisilicon.com>
AuthorDate:    Thu, 03 Dec 2020 11:06:41 +13:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Fri, 11 Dec 2020 10:30:44 +01:00

sched/fair: Trivial correction of the newidle_balance() comment

idle_balance() has been renamed to newidle_balance(). To differentiate
with nohz_idle_balance, it seems refining the comment will be helpful
for the readers of the code.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20201202220641.22752-1-song.bao.hua@hisilicon.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 efac224..04a3ce2 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10550,7 +10550,7 @@ static inline void nohz_newidle_balance(struct rq *this_rq) { }
 #endif /* CONFIG_NO_HZ_COMMON */
 
 /*
- * idle_balance is called by schedule() if this_cpu is about to become
+ * newidle_balance is called by schedule() if this_cpu is about to become
  * idle. Attempts to pull tasks from other CPUs.
  *
  * Returns:

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

end of thread, other threads:[~2020-12-11  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 22:06 [PATCH] sched/fair: trivial correction of the comment of newidle_balance Barry Song
2020-12-03  9:13 ` [tip: sched/core] sched/fair: Trivial correction of the newidle_balance() comment tip-bot2 for Barry Song
2020-12-11  9:34 ` tip-bot2 for Barry Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).