sched_rt: don't allocate cpumask in fastpath
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 25 Mar 2009 04:31:22 +0000 (14:31 +1030)
committerIngo Molnar <mingo@elte.hu>
Wed, 1 Apr 2009 11:24:51 +0000 (13:24 +0200)
commit13b8bd0a5713bdf05659019badd7c0407984ece1
tree378950741dd647b672a2b3e61988725b52557f2d
parenta18b83b7ef3c98cd8b4bb885e4a649a8f30fb7b0
sched_rt: don't allocate cpumask in fastpath

Impact: cleanup

As pointed out by Steven Rostedt.  Since the arg in question is
unused, we simply change cpupri_find() to accept NULL.

Reported-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <200903251501.22664.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_cpupri.c
kernel/sched_rt.c