diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-11-03 05:23:15 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-04 13:16:38 +0100 |
commit | e2c880630438f80b474378d5487b511b07665051 (patch) | |
tree | 0f35b58cd657a3b50e03a93a12367ab82bd569ef /kernel/cpuset.c | |
parent | sched: Add USER_SCHED to feature removal list (diff) | |
download | linux-e2c880630438f80b474378d5487b511b07665051.tar.xz linux-e2c880630438f80b474378d5487b511b07665051.zip |
cpumask: Simplify sched_rt.c
find_lowest_rq() wants to call pick_optimal_cpu() on the
intersection of sched_domain_span(sd) and lowest_mask. Rather
than doing a cpus_and into a temporary, we can open-code it.
This actually makes the code slightly clearer, IMHO.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Gregory Haskins <ghaskins@novell.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <200911031453.15350.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions