Re: [RFC PATCH v2 1/8] cpuidle: menu: extract prediction functionality

2017-10-15 Thread Li, Aubrey
On 2017/10/14 8:26, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:27 AM CEST Aubrey Li wrote: >> There are several factors in the menu governor to predict the next >> idle interval: >> - the next timer >> - the recent idle interval history >> - the corrected idle interval pattern

Re: [RFC PATCH v2 1/8] cpuidle: menu: extract prediction functionality

2017-10-13 Thread Rafael J. Wysocki
On Saturday, September 30, 2017 9:20:27 AM CEST Aubrey Li wrote: > There are several factors in the menu governor to predict the next > idle interval: > - the next timer > - the recent idle interval history > - the corrected idle interval pattern > These factors are common enough to be extracted to

[RFC PATCH v2 1/8] cpuidle: menu: extract prediction functionality

2017-09-30 Thread Aubrey Li
There are several factors in the menu governor to predict the next idle interval: - the next timer - the recent idle interval history - the corrected idle interval pattern These factors are common enough to be extracted to be one function. Signed-off-by: Aubrey Li --- drivers/cpuidle/governors/m