From: Peter Zijlstra Date: Wed, 16 Dec 2009 17:04:38 +0000 (+0100) Subject: sched: Fix select_task_rq() vs hotplug issues X-Git-Tag: v2.6.33-rc2~48^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5da9a0fb673a0ea0a093862f95f6b89b3390c31e;p=pandora-kernel.git 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 Cc: Mike Galbraith LKML-Reference: <20091216170517.961475466@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed