Re: [RFC PATCH v2 3/8] cpuidle: add a new predict interface

2017-10-16 Thread Li, Aubrey
On 2017/10/14 9:27, Rafael J. Wysocki wrote: >> diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c >> index 0951dac..8704f3c 100644 >> --- a/kernel/sched/idle.c >> +++ b/kernel/sched/idle.c >> @@ -225,6 +225,7 @@ static void do_idle(void) >> */ >> __current_set_polling(); >> qui

Re: [RFC PATCH v2 3/8] cpuidle: add a new predict interface

2017-10-16 Thread Li, Aubrey
On 2017/10/14 8:45, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:29 AM CEST Aubrey Li wrote: >> For the governor has predict functionality, add a new predict >> interface in cpuidle framework to call and use it. > > Care to describe how it is intended to work? > > Also this pat

Re: [RFC PATCH v2 3/8] cpuidle: add a new predict interface

2017-10-13 Thread Rafael J. Wysocki
On Saturday, September 30, 2017 9:20:29 AM CEST Aubrey Li wrote: > For the governor has predict functionality, add a new predict > interface in cpuidle framework to call and use it. > --- > drivers/cpuidle/cpuidle.c| 34 ++ > drivers/cpuidle/governors/menu.c

Re: [RFC PATCH v2 3/8] cpuidle: add a new predict interface

2017-10-13 Thread Rafael J. Wysocki
On Saturday, September 30, 2017 9:20:29 AM CEST Aubrey Li wrote: > For the governor has predict functionality, add a new predict > interface in cpuidle framework to call and use it. Care to describe how it is intended to work? Also this patch uses data structures introduced in the previous one (a

[RFC PATCH v2 3/8] cpuidle: add a new predict interface

2017-09-30 Thread Aubrey Li
For the governor has predict functionality, add a new predict interface in cpuidle framework to call and use it. --- drivers/cpuidle/cpuidle.c| 34 ++ drivers/cpuidle/governors/menu.c | 7 +++ include/linux/cpuidle.h | 3 +++ kernel/sched/idle