Skip to content

Cpuidle: Menu governor fixes

[email protected] linux-pm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Cpuidle: Ignore interval prediction result when timer is shorterdrivers/cpuidle/governors/menu.c+4 -10 replies
2/8Cpuidle: Rearrange code and comments in get_typical_interval()drivers/cpuidle/governors/menu.c+15 -130 replies
3/8Cpuidle: Check called function parameter in get_typical_interval()drivers/cpuidle/governors/menu.c+13 -50 replies
4/8Cpuidle: CodingStyle: Break up multiple assignments on single linedrivers/cpuidle/governors/menu.c+6 -30 replies
5/8Cpuidle: Fix menu_device->intervals typedrivers/cpuidle/governors/menu.c+1 -10 replies
6/8Cpuidle: Fix variable domains in get_typical_interval()drivers/cpuidle/governors/menu.c+9 -60 replies
7/8Cpuidle: Add a comment warning about possible overflowdrivers/cpuidle/governors/menu.c+9 -00 replies
8/8Cpuidle: Change struct menu_device field typesdrivers/cpuidle/governors/menu.c+17 -110 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/8] Cpuidle: Menu governor fixes

From: Tuukka Tikkanen <[email protected]>

This series of patches fixes some bugs, style issues and wild use of variable types in cpuidle menu governor. One of the bugs is a logic flaw where a detected previously recurring pattern is given priority over known guaranteed earlier wakeup. The others involve value overflows.

Tuukka Tikkanen (8):
Cpuidle: Ignore interval prediction result when timer is shorter
Cpuidle: Rearrange code and comments in get_typical_interval()
Cpuidle: Check called function parameter in get_typical_interval()
Cpuidle: CodingStyle: Break up multiple assignments on single line
Cpuidle: Fix menu_device->intervals type
Cpuidle: Fix variable domains in get_typical_interval()
Cpuidle: Add a comment warning about possible overflow
Cpuidle: Change struct menu_device field types

 drivers/cpuidle/governors/menu.c |   96 ++++++++++++++++++++++++++------------
 1 file changed, 65 insertions(+), 31 deletions(-)
Signature · 1 line
1.7.9.5