[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121001003233.GL10383@mtj.dyndns.org>
Date: Mon, 1 Oct 2012 09:32:33 +0900
From: Tejun Heo <tj@...nel.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: linux-kernel@...r.kernel.org, pjt@...gle.com,
paul.mckenney@...aro.org, tglx@...utronix.de,
suresh.b.siddha@...el.com, venki@...gle.com, mingo@...hat.com,
peterz@...radead.org, robin.randhawa@....com,
Steve.Bannister@....com, Arvind.Chauhan@....com,
amit.kucheria@...aro.org, vincent.guittot@...aro.org,
linaro-dev@...ts.linaro.org, patches@...aro.org
Subject: Re: [PATCH V2 3/3] workqueue: Schedule work on non-idle cpu instead
of current one
Hello,
On Sun, Sep 30, 2012 at 05:46:45PM +0530, Viresh Kumar wrote:
> For the scheduler CPU is idle, if all below are true:
> - current task is idle task
> - nr_running == 0
> - wake_list is empty
>
> And during these conditions, there can be a timer running in background.
> And when we reach its interrupt handler, then also these conditions hold true
> and local cpu is idle.
It isn't about the CPU being actually idle? Also, if it's only about
timers, shouldn't it be enough to implement it for timer and
delayed_work?
It would be great if you explain what you're trying to achieve how. I
can't tell what you're aiming for and why that would be beneficial
from these submissions.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists