• P
    sched: Fix select_task_rq() vs hotplug issues · 5da9a0fb
    Peter Zijlstra 提交于
    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: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    LKML-Reference: <20091216170517.961475466@chello.nl>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    5da9a0fb
sched.c 270.1 KB