Re: [PATCH V3 5/7] mmc: queue work on any cpu

2013-03-22 Thread Chris Ball
Hi, On Fri, Mar 22 2013, Viresh Kumar wrote: > On 22 March 2013 22:56, Chris Ball wrote: >> On Mon, Mar 18 2013, Viresh Kumar wrote: >> >> /home/cjb/git/mmc/drivers/mmc/core/core.c: In function >> ‘mmc_schedule_delayed_work’: >> /home/cjb/git/mmc/drivers/mmc/core/core.c:88:2: error: implicit >> d

Re: [PATCH V3 5/7] mmc: queue work on any cpu

2013-03-22 Thread Viresh Kumar
On 22 March 2013 22:56, Chris Ball wrote: > On Mon, Mar 18 2013, Viresh Kumar wrote: > > /home/cjb/git/mmc/drivers/mmc/core/core.c: In function > ‘mmc_schedule_delayed_work’: > /home/cjb/git/mmc/drivers/mmc/core/core.c:88:2: error: implicit declaration > of function ‘queue_delayed_work_on_any_cp

Re: [PATCH V3 5/7] mmc: queue work on any cpu

2013-03-22 Thread Chris Ball
Hi, On Mon, Mar 18 2013, Viresh Kumar wrote: > mmc uses workqueues for running mmc_rescan(). There is no real dependency of > scheduling these on the cpu which scheduled them. > > On a idle system, it is observed that and idle cpu wakes up many times just to > service this work. It would be better

Re: [PATCH V3 5/7] mmc: queue work on any cpu

2013-03-22 Thread Chris Ball
Hi, On Mon, Mar 18 2013, Viresh Kumar wrote: > mmc uses workqueues for running mmc_rescan(). There is no real dependency of > scheduling these on the cpu which scheduled them. > > On a idle system, it is observed that and idle cpu wakes up many times just to > service this work. It would be better

Re: [PATCH V3 5/7] mmc: queue work on any cpu

2013-03-19 Thread Ulf Hansson
On 18 March 2013 16:23, Viresh Kumar wrote: > mmc uses workqueues for running mmc_rescan(). There is no real dependency of > scheduling these on the cpu which scheduled them. > > On a idle system, it is observed that and idle cpu wakes up many times just to > service this work. It would be better

[PATCH V3 5/7] mmc: queue work on any cpu

2013-03-18 Thread Viresh Kumar
mmc uses workqueues for running mmc_rescan(). There is no real dependency of scheduling these on the cpu which scheduled them. On a idle system, it is observed that and idle cpu wakes up many times just to service this work. It would be better if we can schedule it on a cpu which isn't idle to sav