Re: [PATCH v1 2/5] cpuidle: menu: Record tick delta value in struct menu_device

2018-08-21 Thread Rafael J. Wysocki
On Sunday, August 12, 2018 6:09:28 PM CEST Leo Yan wrote: > Since the tick delta is used in multiple places in menu_select(), it's > better to use single one variable to record this value; furthermore, for > more readable we can refactor the code to split a separate function to > making decision fo

[PATCH v1 2/5] cpuidle: menu: Record tick delta value in struct menu_device

2018-08-12 Thread Leo Yan
Since the tick delta is used in multiple places in menu_select(), it's better to use single one variable to record this value; furthermore, for more readable we can refactor the code to split a separate function to making decision for stopping tick, which also needs to use tick delta value as one m