Skip to content

cpuidle: teo: Rework the idle state selection logic

Rafael J. Wysocki linux-pm lkml 1 version In review

Get series with b4
b4 am 1867445.PYKUYFuaPT@kreacher

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cpuidle: teo: Cosmetic modifications of teo_update()drivers/cpuidle/governors/teo.c+7 -60 replies
2/5cpuidle: teo: Cosmetic modification of teo_select()drivers/cpuidle/governors/teo.c+7 -110 replies
3/5cpuidle: teo: Change the main idle state selection logicdrivers/cpuidle/governors/teo.c+206 -1740 replies
4/5cpuidle: teo: Rework most recent idle duration values treatmentdrivers/cpuidle/governors/teo.c+72 -850 replies
5/5cpuidle: teo: Use kerneldoc documentation in admin-guideDocumentation/admin-guide/pm/cpuidle.rst drivers/cpuidle/governors/teo.c+10 -790 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchDoug Smythies
SeriesT-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/5] cpuidle: teo: Rework the idle state selection logic

Hi All,

This series of patches addresses some theoretical shortcoming in the TEO (Timer Events Oriented) cpuidle governor by reworking its idle state selection logic to some extent.

Patches [1-2/5] are introductory cleanups and the substantial changes are made in patches [3-4/5] (please refer to the changelogs of these two patches for details). The last patch only deals with documentation.

Even though this work is mostly based on theoretical considerations, it shows a measurable reduction of the number of cases in which the shallowest idle state is selected while it would be more beneficial to select a deeper one or the deepest idle state is selected while it would be more beneficial to select a shallower one, which should be a noticeable improvement.

Thanks!