diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-11-03 14:53:15 +1030 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-04 13:16:38 +0100 |
commit | e2c880630438f80b474378d5487b511b07665051 (patch) | |
tree | 0f35b58cd657a3b50e03a93a12367ab82bd569ef /kernel/cpuset.c | |
parent | 45a5c8bad827ebb9c9798becc15bce2e804d49e0 (diff) | |
download | linux-stable-e2c880630438f80b474378d5487b511b07665051.tar.gz linux-stable-e2c880630438f80b474378d5487b511b07665051.tar.bz2 linux-stable-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