aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorXiaotian Feng <dfeng@redhat.com>2009-12-16 18:04:32 +0100
committerIngo Molnar <mingo@elte.hu>2009-12-16 19:01:53 +0100
commit9ee349ad6d326df3633d43f54202427295999c47 (patch)
tree06f4795cb1b3f493b2421b65af0fd870875c8168 /kernel/sched.c
parent933b0618d8b2a59c7a0742e43836544e02f1e9bd (diff)
downloadkernel_samsung_smdk4412-9ee349ad6d326df3633d43f54202427295999c47.zip
kernel_samsung_smdk4412-9ee349ad6d326df3633d43f54202427295999c47.tar.gz
kernel_samsung_smdk4412-9ee349ad6d326df3633d43f54202427295999c47.tar.bz2
sched: Fix set_cpu_active() in cpu_down()
Sachin found cpu hotplug test failures on powerpc, which made the kernel hang on his POWER box. The problem is that we fail to re-activate a cpu when a hot-unplug fails. Fix this by moving the de-activation into _cpu_down after doing the initial checks. Remove the synchronize_sched() calls and rely on those implied by rebuilding the sched domains using the new mask. Reported-by: Sachin Sant <sachinp@in.ibm.com> Signed-off-by: Xiaotian Feng <dfeng@redhat.com> Tested-by: Sachin Sant <sachinp@in.ibm.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> LKML-Reference: <20091216170517.500272612@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions