sched: Fix missing sched tunable recalculation on cpu add/remove
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Mon, 30 Nov 2009 11:16:46 +0000 (12:16 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Jan 2010 23:01:11 +0000 (15:01 -0800)
commitdb47a1671a787a27a6f9ef780f1865fa4372f361
tree10dbbc4b27874b8ba3ffaaaf2e1b926fc0e62065
parent08b84be9e906f97340acbf6c5daaa53bbf4fa194
sched: Fix missing sched tunable recalculation on cpu add/remove

commit 0bcdcf28c979869f44e05121b96ff2cfb05bd8e6 upstream.

Based on Peter Zijlstras patch suggestion this enables recalculation of
the scheduler tunables in response of a change in the number of cpus. It
also adds a max of eight cpus that are considered in that scaling.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1259579808-11357-2-git-send-email-ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sched.c
kernel/sched_fair.c