lkml.org 
[lkml]   [2021]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH (trivial)] sched/fair : Fix the comment for rebalance_domains()
Date
The function init_sched_domains() was renamed to sched_init_domains()
by the commit 8d5dc5126bb2 ("sched/topology: Small cleanup"). However,
the comment prior to rebalance_domains() still refers to
init_sched_domains(). Fix the comment to refer to the current name of
the function.

Signed-off-by: Gautham R. Shenoy <gautham.shenoy@gmail.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 8943dbb94365..93facfb9b974 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10211,7 +10211,7 @@ void update_max_interval(void)
* It checks each scheduling domain to see if it is due to be balanced,
* and initiates a balancing operation if so.
*
- * Balancing parameters are set up in init_sched_domains.
+ * Balancing parameters are set up in sched_init_domains.
*/
static void rebalance_domains(struct rq *rq, enum cpu_idle_type idle)
{
--
2.25.1
\
 
 \ /
  Last update: 2021-10-03 20:06    [W:0.020 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site