Skip to content
Commit f4e9d94a authored by Wanpeng Li's avatar Wanpeng Li Committed by Ingo Molnar
Browse files

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: default avatarWanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1413253360-5318-2-git-send-email-wanpeng.li@linux.intel.com
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 1d7e974c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment