diff options
| author | Matt Turner <[email protected]> | 2010-04-29 02:49:36 +0000 |
|---|---|---|
| committer | Matt Turner <[email protected]> | 2010-05-25 22:40:28 +0000 |
| commit | a75f5f0f0a3676216e0015b3040c785dbfe1e0da (patch) | |
| tree | c6cd7600562dd0d374e4d41a1d558ce96ef6c7e2 /net/unix/sysctl_net_unix.c | |
| parent | alpha: invoke oom-killer from page fault (diff) | |
| download | kernel-a75f5f0f0a3676216e0015b3040c785dbfe1e0da.tar.gz kernel-a75f5f0f0a3676216e0015b3040c785dbfe1e0da.zip | |
alpha: simplify and optimize sched_find_first_bit
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: [email protected]
Acked-by: Richard Henderson <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
