Re: [PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-10 Thread Daniel Lezcano
On 11/10/2014 01:43 PM, Peter Zijlstra wrote: On Fri, Nov 07, 2014 at 03:31:24PM +0100, Daniel Lezcano wrote: static void cpu_idle_loop(void) { - unsigned int latency_req; + unsigned int latency_req, next_timer_event; while (1) { /* @@ -221,6 +222,9 @@

Re: [PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-10 Thread Peter Zijlstra
On Fri, Nov 07, 2014 at 03:31:24PM +0100, Daniel Lezcano wrote: > static void cpu_idle_loop(void) > { > - unsigned int latency_req; > + unsigned int latency_req, next_timer_event; > > while (1) { > /* > @@ -221,6 +222,9 @@ static void cpu_idle_loop(void) > >

Re: [PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-10 Thread Peter Zijlstra
On Fri, Nov 07, 2014 at 03:31:24PM +0100, Daniel Lezcano wrote: static void cpu_idle_loop(void) { - unsigned int latency_req; + unsigned int latency_req, next_timer_event; while (1) { /* @@ -221,6 +222,9 @@ static void cpu_idle_loop(void)

Re: [PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-10 Thread Daniel Lezcano
On 11/10/2014 01:43 PM, Peter Zijlstra wrote: On Fri, Nov 07, 2014 at 03:31:24PM +0100, Daniel Lezcano wrote: static void cpu_idle_loop(void) { - unsigned int latency_req; + unsigned int latency_req, next_timer_event; while (1) { /* @@ -221,6 +222,9 @@

Re: [PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-08 Thread Preeti U Murthy
On 11/07/2014 08:01 PM, Daniel Lezcano wrote: > Following the logic of the previous patch, retrieve from the idle task the > expected timer sleep duration and pass it to the cpuidle framework. > > Take the opportunity to remove the unused headers in the menu.c file. > > This patch does not

Re: [PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-08 Thread Preeti U Murthy
On 11/07/2014 08:01 PM, Daniel Lezcano wrote: Following the logic of the previous patch, retrieve from the idle task the expected timer sleep duration and pass it to the cpuidle framework. Take the opportunity to remove the unused headers in the menu.c file. This patch does not change the

[PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-07 Thread Daniel Lezcano
Following the logic of the previous patch, retrieve from the idle task the expected timer sleep duration and pass it to the cpuidle framework. Take the opportunity to remove the unused headers in the menu.c file. This patch does not change the current behavior. Signed-off-by: Daniel Lezcano

[PATCH V3 3/6] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-11-07 Thread Daniel Lezcano
Following the logic of the previous patch, retrieve from the idle task the expected timer sleep duration and pass it to the cpuidle framework. Take the opportunity to remove the unused headers in the menu.c file. This patch does not change the current behavior. Signed-off-by: Daniel Lezcano