On Sat 23 Mar 2013 06:52:36 AM CST, linaro-kernel-request@lists.linaro.org wrote:
Send linaro-kernel mailing list submissions to linaro-kernel@lists.linaro.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.linaro.org/mailman/listinfo/linaro-kernel or, via email, send a message with subject or body 'help' to linaro-kernel-request@lists.linaro.org
You can reach the person managing the list at linaro-kernel-owner@lists.linaro.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of linaro-kernel digest..."
Today's Topics:
1. Re: [PATCH V3 5/7] mmc: queue work on any cpu (Viresh Kumar) 2. Re: [PATCH V3 5/7] mmc: queue work on any cpu (Chris Ball) 3. Re: [PATCH V3 5/7] mmc: queue work on any cpu (Chris Ball) 4. Re: [PATCH V3 5/7] mmc: queue work on any cpu (Chris Ball) 5. Re: [PATCH 2/2] PM / devfreq: tie suspend/resume to runtime-pm (Kevin Hilman) 6. [ACTIVITY] (Linus Walleij) 2013-02-22 - 2013-03-22 (Linus Walleij)
Message: 1 Date: Fri, 22 Mar 2013 22:57:49 +0530 From: Viresh Kumar viresh.kumar@linaro.org To: Chris Ball cjb@laptop.org Cc: venki@google.com, linaro-kernel@lists.linaro.org, suresh.b.siddha@intel.com, peterz@infradead.org, Liviu.Dudau@arm.com, robin.randhawa@arm.com, linux-kernel@vger.kernel.org, rostedt@goodmis.org, mingo@redhat.com, Steve.Bannister@arm.com, tj@kernel.org, linux-mmc@vger.kernel.org, Arvind.Chauhan@arm.com, pjt@google.com, linux-rt-users@vger.kernel.org, charles.garcia-tobin@arm.com Subject: Re: [PATCH V3 5/7] mmc: queue work on any cpu Message-ID: CAKohpomqkYeMgvTpjrUjGs3md=vzguW5Ae6Snf4hzsqtQxNDOw@mail.gmail.com Content-Type: text/plain; charset=windows-1252
On 22 March 2013 22:56, Chris Ball cjb@laptop.org 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_cpu? [-Werror=implicit-function-declaration]
I've dropped this patch for now. This function doesn't seem to be defined in linux-next either.
Hi chris,
This patch was part of a bigger patchset which also adds this API. I don't want you to apply this one but just Ack here. Probably Tejun or some scheduler maintainer will apply it later (if they like all patches).
Message: 2 Date: Fri, 22 Mar 2013 13:09:13 -0400 From: Chris Ball cjb@laptop.org To: Viresh Kumar viresh.kumar@linaro.org Cc: venki@google.com, linaro-kernel@lists.linaro.org, suresh.b.siddha@intel.com, peterz@infradead.org, Liviu.Dudau@arm.com, robin.randhawa@arm.com, linux-kernel@vger.kernel.org, rostedt@goodmis.org, mingo@redhat.com, Steve.Bannister@arm.com, tj@kernel.org, linux-mmc@vger.kernel.org, Arvind.Chauhan@arm.com, pjt@google.com, linux-rt-users@vger.kernel.org, charles.garcia-tobin@arm.com Subject: Re: [PATCH V3 5/7] mmc: queue work on any cpu Message-ID: 87sj3nl5ty.fsf@octavius.laptop.org Content-Type: text/plain
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 if we can schedule it on a cpu which isn't idle to save on power.
By idle cpu (from scheduler's perspective) we mean:
- Current task is idle task
- nr_running == 0
- wake_list is empty
This patch replaces the queue_delayed_work() with queue_delayed_work_on_any_cpu() siblings.
This routine would look for the closest (via scheduling domains) non-idle cpu (non-idle from schedulers perspective). If the current cpu is not idle or all cpus are idle, work will be scheduled on local cpu.
Cc: Chris Ball cjb@laptop.org Cc: linux-mmc@vger.kernel.org Signed-off-by: Viresh Kumar viresh.kumar@linaro.org
drivers/mmc/core/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 9290bb5..adf331a 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -85,7 +85,7 @@ MODULE_PARM_DESC( static int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay) {
- return queue_delayed_work(workqueue, work, delay);
return queue_delayed_work_on_any_cpu(workqueue, work, delay); }
/*
Thanks, pushed to mmc-next for 3.10.
- Chris.
where can i find the kernel source for pandaboard es ?
linaro-kernel@lists.linaro.org