cpuidle: teo: Simplify counting events used for tick management
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 13 Jan 2025 18:45:50 +0000 (19:45 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Jan 2025 16:16:53 +0000 (17:16 +0100)
commitd619b5cc678024fa5ed7eb3702c3991a2aa96823
treed921cb33550d7d2a5e0e49379c209c38e9c4fc52
parente24f8a55de509ba26726f094e084d90428cbcf26
cpuidle: teo: Simplify counting events used for tick management

Replace the tick_hits metric with a new tick_intercepts one that can be
used directly when deciding whether or not to stop the scheduler tick
and update the governor functional description accordingly.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Tested-by: Aboorva Devarajan <aboorvad@linux.ibm.com>
Tested-by: Christian Loehle <christian.loehle@arm.com>
Link: https://patch.msgid.link/1987985.PYKUYFuaPT@rjwysocki.net
drivers/cpuidle/governors/teo.c