projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27dc080
)
tick/sched: Rename tick_nohz_stop_sched_tick() to tick_nohz_full_stop_tick()
author
Frederic Weisbecker
<frederic@kernel.org>
Sun, 25 Feb 2024 22:54:57 +0000
(23:54 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Mon, 26 Feb 2024 10:37:31 +0000
(11:37 +0100)
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
kernel/time/tick-sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/time/tick-sched.c
b/kernel/time/tick-sched.c
index 4e34967edc0dbf787193b1dff6b3fe5b2fabcd88..9f75f562196557d373198d6a2031fc2060ff7a5a 100644
(file)
--- a/
kernel/time/tick-sched.c
+++ b/
kernel/time/tick-sched.c
@@
-1040,7
+1040,7
@@
static void tick_nohz_retain_tick(struct tick_sched *ts)
}
#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))
tick_nohz_stop_tick(ts, cpu);
@@
-1075,7
+1075,7
@@
static void __tick_nohz_full_update_tick(struct tick_sched *ts,
int cpu = smp_processor_id();
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)
tick_nohz_restart_sched_tick(ts, now);
#endif