[PATCH v3 0/3] cpuidle: teo: Avoid stopping scheduler tick too often

From: Rafael J. Wysocki
Date: Mon Jul 31 2023 - 15:05:10 EST


Hi Folks,

Patch [1/3] in this series is a v3 of this patch posted last week:

https://lore.kernel.org/linux-pm/4506480.LvFx2qVVIh@kreacher/

Patch [2/3] (this is the second version of it) addresses some bail out paths
in teo_select() in which the scheduler tick may be stopped unnecessarily too.

Patch [3/3] replaces a structure field with a local variable (while at it)
and it is the same as its previous version.

According to this message:

https://lore.kernel.org/linux-pm/CAJZ5v0jJxHj65r2HXBTd3wfbZtsg=_StzwO1kA5STDnaPe_dWA@xxxxxxxxxxxxxx/

this series significantly reduces the number of cases in which the governor
requests stopping the tick when the selected idle state is shallow, which is
incorrect.

Thanks!