Re: [PATCH V3 0/7] Create sched_select_cpu() and use it for workqueues

2013-03-18 Thread Viresh Kumar
On 18 March 2013 20:53, Viresh Kumar wrote: > In order to save power, it would be useful to schedule light weight work on > cpus > that aren't IDLE instead of waking up an IDLE one. > > By idle cpu (from scheduler's perspective) we mean: > - Current task is idle task > - nr_running == 0 > - wake_

[PATCH V3 0/7] Create sched_select_cpu() and use it for workqueues

2013-03-18 Thread Viresh Kumar
In order to save power, it would be useful to schedule light weight work on cpus that aren't IDLE instead of waking up an IDLE one. By idle cpu (from scheduler's perspective) we mean: - Current task is idle task - nr_running == 0 - wake_list is empty This is already implemented for timers as get_