]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
sched: Implement on-demand (active) cfs_rq list
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 15 Nov 2010 23:47:01 +0000 (15:47 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Nov 2010 12:27:47 +0000 (13:27 +0100)
commit3d4b47b4b040c9d77dd68104cfc1055d89a55afd
treea4b39b5d7c89a319b81543c1b26778d6220e772b
parent2069dd75c7d0f49355939e5586daf5a9ab216db7
sched: Implement on-demand (active) cfs_rq list

Make certain load-balance actions scale per number of active cgroups
instead of the number of existing cgroups.

This makes wakeup/sleep paths more expensive, but is a win for systems
where the vast majority of existing cgroups are idle.

Signed-off-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101115234937.666535048@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c
kernel/sched_rt.c