Commit 3650f49b authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Thomas Gleixner

tick/sched: Rename tick_nohz_stop_sched_tick() to tick_nohz_full_stop_tick()

tick_nohz_stop_sched_tick() is only about NOHZ_full and not about
dynticks-idle. Reflect that in the function name to avoid confusion.
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240225225508.11587-6-frederic@kernel.org
parent 27dc0809
...@@ -1040,7 +1040,7 @@ static void tick_nohz_retain_tick(struct tick_sched *ts) ...@@ -1040,7 +1040,7 @@ static void tick_nohz_retain_tick(struct tick_sched *ts)
} }
#ifdef CONFIG_NO_HZ_FULL #ifdef CONFIG_NO_HZ_FULL
static void tick_nohz_stop_sched_tick(struct tick_sched *ts, int cpu) static void tick_nohz_full_stop_tick(struct tick_sched *ts, int cpu)
{ {
if (tick_nohz_next_event(ts, cpu)) if (tick_nohz_next_event(ts, cpu))
tick_nohz_stop_tick(ts, cpu); tick_nohz_stop_tick(ts, cpu);
...@@ -1075,7 +1075,7 @@ static void __tick_nohz_full_update_tick(struct tick_sched *ts, ...@@ -1075,7 +1075,7 @@ static void __tick_nohz_full_update_tick(struct tick_sched *ts,
int cpu = smp_processor_id(); int cpu = smp_processor_id();
if (can_stop_full_tick(cpu, ts)) if (can_stop_full_tick(cpu, ts))
tick_nohz_stop_sched_tick(ts, cpu); tick_nohz_full_stop_tick(ts, cpu);
else if (ts->tick_stopped) else if (ts->tick_stopped)
tick_nohz_restart_sched_tick(ts, now); tick_nohz_restart_sched_tick(ts, now);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment