tick/nohz: Don't shutdown the lowres tick from itself
authorFrederic Weisbecker <frederic@kernel.org>
Tue, 12 Sep 2023 10:44:04 +0000 (12:44 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 27 Sep 2023 14:58:10 +0000 (16:58 +0200)
commit4f7f4409af289715f44685f250e380ce2cbffc7e
tree67aa74b01f735af10fa3a2ab7516e8f6764770cc
parent822deeed3a6a3fdf0cd899d3b403ecbb12fb6c7a
tick/nohz: Don't shutdown the lowres tick from itself

In lowres dynticks mode, just like in highres dynticks mode, when there
is no tick to program in the future, the tick eventually gets
deactivated either:

  * From the idle loop if in idle mode.
  * From the IRQ exit if in full dynticks mode.

Therefore there is no need to deactivate it from the tick itself. This
just just brings more overhead in the idle tick path for no reason.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Link: https://lore.kernel.org/r/20230912104406.312185-4-frederic@kernel.org
kernel/time/tick-sched.c