Skip to content

Commit 3650f49

Browse files
Frederic WeisbeckerKAGA-KOKO
authored andcommitted
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: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240225225508.11587-6-frederic@kernel.org
1 parent 27dc080 commit 3650f49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/time/tick-sched.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ static void tick_nohz_retain_tick(struct tick_sched *ts)
10401040
}
10411041

10421042
#ifdef CONFIG_NO_HZ_FULL
1043-
static void tick_nohz_stop_sched_tick(struct tick_sched *ts, int cpu)
1043+
static void tick_nohz_full_stop_tick(struct tick_sched *ts, int cpu)
10441044
{
10451045
if (tick_nohz_next_event(ts, cpu))
10461046
tick_nohz_stop_tick(ts, cpu);
@@ -1075,7 +1075,7 @@ static void __tick_nohz_full_update_tick(struct tick_sched *ts,
10751075
int cpu = smp_processor_id();
10761076

10771077
if (can_stop_full_tick(cpu, ts))
1078-
tick_nohz_stop_sched_tick(ts, cpu);
1078+
tick_nohz_full_stop_tick(ts, cpu);
10791079
else if (ts->tick_stopped)
10801080
tick_nohz_restart_sched_tick(ts, now);
10811081
#endif

0 commit comments

Comments
 (0)