summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLi Zefan2008-11-18 07:02:03 +0100
committerIngo Molnar2008-11-18 08:44:51 +0100
commit700018e0a77b4113172257fcdaa1c58e27a5074f (patch)
tree60ea1cc7682b19203e1caab15ebb2285153eeee7 /init
parentsched, signals: fix the racy usage of ->signal in account_group_xxx/run_posix... (diff)
downloadkernel-qcow2-linux-700018e0a77b4113172257fcdaa1c58e27a5074f.tar.gz
kernel-qcow2-linux-700018e0a77b4113172257fcdaa1c58e27a5074f.tar.xz
kernel-qcow2-linux-700018e0a77b4113172257fcdaa1c58e27a5074f.zip
cpuset: fix regression when failed to generate sched domains
Impact: properly rebuild sched-domains on kmalloc() failure When cpuset failed to generate sched domains due to kmalloc() failure, the scheduler should fallback to the single partition 'fallback_doms' and rebuild sched domains, but now it only destroys but not rebuilds sched domains. The regression was introduced by: | commit dfb512ec4834116124da61d6c1ee10fd0aa32bd6 | Author: Max Krasnyansky <maxk@qualcomm.com> | Date: Fri Aug 29 13:11:41 2008 -0700 | | sched: arch_reinit_sched_domains() must destroy domains to force rebuild After the above commit, partition_sched_domains(0, NULL, NULL) will only destroy sched domains and partition_sched_domains(1, NULL, NULL) will create the default sched domain. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Max Krasnyansky <maxk@qualcomm.com> Cc: <stable@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions