lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
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