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)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Dec 2009 09:03:58 +0000 (10:03 +0100)
commit0bcdcf28c979869f44e05121b96ff2cfb05bd8e6
treec70b8fb37fec9badf95ac2ea679407334f580ae5
parent57785df5ac53c70da9fb53696130f3c551bfe1f9
sched: Fix missing sched tunable recalculation on cpu add/remove

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>
kernel/sched.c
kernel/sched_fair.c