alpha: simplify and optimize sched_find_first_bit
authorMatt Turner <mattst88@gmail.com>
Thu, 29 Apr 2010 02:49:36 +0000 (22:49 -0400)
committerMatt Turner <mattst88@monolith.freenet-rz.de>
Tue, 25 May 2010 22:40:28 +0000 (00:40 +0200)
Search only the first 100 bits instead of 140, saving a couple
instructions. The resulting code is about 1/3 faster (40K ticks/1000
iterations down to 30K ticks/1000 iterations).

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: linux-alpha@vger.kernel.org
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Matt Turner <mattst88@gmail.com>

No differences found