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: Tue, 18 Feb 2014 10:42:51 +0800 From: Michael wang <wangyun@...ux.vnet.ibm.com> To: Peter Zijlstra <peterz@...radead.org> CC: Ingo Molnar <mingo@...nel.org>, LKML <linux-kernel@...r.kernel.org>, Steven Rostedt <rostedt@...dmis.org>, Juri Lelli <juri.lelli@...il.com> Subject: Re: [RFC PATCH] sched: make sure sched-priority after invoke idle_balance() On 02/17/2014 07:24 PM, Peter Zijlstra wrote: [snip] >> Since idle_balance() won't happen in the loop, may be we could use: >> >> if p && p->sched_class == class >> return p >> >> in here, let it fall down into the loop if p is idle, since that means >> we got RT/DL and will do this anyway, could save two jump work may be? >> (and may could combine some code below if so?) > > Maybe; we'd have to look at whatever GCC does with it. Exactly, alien code appear when in binary... Regards, Michael Wang > > -- > 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/ > -- 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