diff options
author | Shawn Bohrer <sbohrer@rgmadvisors.com> | 2013-10-04 19:24:53 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-12 12:25:40 (GMT) |
commit | 4aef0b11ba4fa4c2cd115c312dd9f0b64cad1bf1 (patch) | |
tree | bc43541f1ccb7215d921124025e1afa2bb51dc49 /arch/x86/kernel/microcode_intel_lib.c | |
parent | d171cbfc349b897d89ae4a0fe5fb75c4e1e65097 (diff) | |
download | linux-fsl-qoriq-4aef0b11ba4fa4c2cd115c312dd9f0b64cad1bf1.tar.xz |
sched/rt: Remove redundant nr_cpus_allowed test
commit 6bfa687c19b7ab8adee03f0d43c197c2945dd869 upstream.
In 76854c7e8f3f4172fef091e78d88b3b751463ac6 ("sched: Use
rt.nr_cpus_allowed to recover select_task_rq() cycles") an
optimization was added to select_task_rq_rt() that immediately
returns when p->nr_cpus_allowed == 1 at the beginning of the
function.
This makes the latter p->nr_cpus_allowed > 1 check redundant,
which can now be removed.
Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Mike Galbraith <mgalbraith@suse.de>
Cc: tomk@rgmadvisors.com
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1380914693-24634-1-git-send-email-shawn.bohrer@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/x86/kernel/microcode_intel_lib.c')
0 files changed, 0 insertions, 0 deletions