From: Peter Zijlstra Date: Thu, 25 Mar 2010 20:05:16 +0000 (+0100) Subject: sched: Optimize task_rq_lock() X-Git-Tag: v2.6.35-rc1~521^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65cc8e4859ff29a9ddc989c88557d6059834c2a2;p=pandora-kernel.git sched: Optimize task_rq_lock() Now that we hold the rq->lock over set_task_cpu() again, we can do away with most of the TASK_WAKING checks and reduce them again to set_cpus_allowed_ptr(). Removes some conditionals from scheduling hot-paths. Signed-off-by: Peter Zijlstra Cc: Oleg Nesterov LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed