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: Sat, 11 Feb 2012 16:02:17 +0100 From: Peter Zijlstra <peterz@...radead.org> To: Mike Galbraith <efault@....de> Cc: Paul Turner <pjt@...gle.com>, Venkatesh Pallipadi <venki@...gle.com>, Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org> Subject: Re: [RFC][PATCH] sched: Optimize cgroup pick_next_task_fair On Sat, 2012-02-11 at 07:56 +0100, Mike Galbraith wrote: > On Sat, 2012-02-11 at 06:05 +0100, Peter Zijlstra wrote: > > Since commit 2f36825b1 ("sched: Next buddy hint on sleep and preempt > > path") it is likely we pick a new task from the same cgroup, doing a put > > and then set on all intermediate entities is a waste of time, so try to > > avoid this. > > Good idea, we need to lose some weight. I actually set out to do something else, but then ended up here.. weird how that works ;-) My initial idea was to try and get rid of the pick_next_entity() downward walk by keeping that data up-to-date when we dequeue/enqueue. That all got a tad convoluted, I'll have to try it again. Anyway, that ended up needing to rework the put/set stuff, and that part wasn't as bad. -- 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