From: Wanpeng Li Date: Tue, 14 Oct 2014 02:22:40 +0000 (+0800) Subject: sched/deadline: Don't balance during wakeup if wakee is pinned X-Git-Tag: omap-for-v3.19/fixes-rc1~165^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e9d94a5bf60193d45f92b136e3d166be3ec8d5;p=pandora-kernel.git sched/deadline: Don't balance during wakeup if wakee is pinned Use nr_cpus_allowed to bail from select_task_rq() when only one cpu can be used, and saves some cycles for pinned tasks. Signed-off-by: Wanpeng Li Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1413253360-5318-2-git-send-email-wanpeng.li@linux.intel.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed