[tip:sched/core] sched/core: Allow the remote scheduler tick to be started on CPU0
From: tip-bot for Nicholas Piggin
Date: Fri May 03 2019 - 07:29:08 EST
Commit-ID: 77a5352ba977d2554643e3797e10823d0d03dcf7
Gitweb: https://git.kernel.org/tip/77a5352ba977d2554643e3797e10823d0d03dcf7
Author: Nicholas Piggin <npiggin@xxxxxxxxx>
AuthorDate: Thu, 11 Apr 2019 13:34:44 +1000
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Fri, 3 May 2019 12:53:14 +0200
sched/core: Allow the remote scheduler tick to be started on CPU0
This has no effect yet because CPU0 will always be a housekeeping CPU
until a later change.
Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Rafael J . Wysocki <rafael.j.wysocki@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
Link: https://lkml.kernel.org/r/20190411033448.20842-2-npiggin@xxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
kernel/sched/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index de8ab411826c..cef22c5499a8 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5866,7 +5866,7 @@ void __init sched_init_smp(void)
static int __init migration_init(void)
{
- sched_rq_cpu_starting(smp_processor_id());
+ sched_cpu_starting(smp_processor_id());
return 0;
}
early_initcall(migration_init);