Messages in this thread |  | | Date | Thu, 13 Feb 2014 15:53:03 +0800 | From | Alex Shi <> | Subject | Re: [PATCH V2 3/3] sched: Move idle_stamp up to the core |
| |
On 02/07/2014 07:10 AM, Daniel Lezcano wrote: > The idle_balance modifies the idle_stamp field of the rq, making this > information to be shared across core.c and fair.c. As we can know if the > cpu is going to idle or not with the previous patch, let's encapsulate the > idle_stamp information in core.c by moving it up to the caller. The > idle_balance function returns true in case a balancing occured and the cpu > won't be idle, false if no balance happened and the cpu is going idle. > > Cc: mingo@kernel.org > Cc: alex.shi@linaro.org > Cc: peterz@infradead.org > Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> > Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Alex Shi <alex.shi@linaro.org>
-- Thanks Alex
|  |