Skip to content

cpuidle: small improvements & fixes for menu governor

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cpuidle,x86: increase forced cut-off for polling to 20usdrivers/cpuidle/governors/menu.c+1 -13 replies
2/3cpuidle,menu: use interactivity_req to disable pollingdrivers/cpuidle/governors/menu.c+1 -10 replies
3/3cpuidle,menu: smooth out measured_us calculationdrivers/cpuidle/governors/menu.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] cpuidle: small improvements & fixes for menu governor

While working on a paravirt cpuidle driver for KVM guests, I noticed a number of small logic errors in the menu governor code.

These patches should get rid of some artifacts that can break the logic in the menu governor under certain corner cases, and make idle state selection work better on CPUs with long C1 exit latencies.

I have not seen any adverse effects with them in my (quick) tests. As expected, they do not seem to do much on systems with many power states and very low C1 exit latencies and target residencies.