aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-12-16 18:04:38 +0100
committerIngo Molnar <mingo@elte.hu>2009-12-16 19:01:57 +0100
commit5da9a0fb673a0ea0a093862f95f6b89b3390c31e (patch)
treefa4465d5ce050cdc42e63a2518ce2e1b58fa9c30 /kernel/kthread.c
parentsched: Fix sched_exec() balancing (diff)
downloadlinux-dev-5da9a0fb673a0ea0a093862f95f6b89b3390c31e.tar.xz
linux-dev-5da9a0fb673a0ea0a093862f95f6b89b3390c31e.zip
sched: Fix select_task_rq() vs hotplug issues
Since select_task_rq() is now responsible for guaranteeing ->cpus_allowed and cpu_active_mask, we need to verify this. select_task_rq_rt() can blindly return smp_processor_id()/task_cpu() without checking the valid masks, select_task_rq_fair() can do the same in the rare case that all SD_flags are disabled. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> LKML-Reference: <20091216170517.961475466@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions