mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
fib_trie: use fls() instead of open coded loop
fib_table_lookup() might use fls() to speedup an open coded loop. Noticed while doing a profile analysis. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a0a4a85a15
commit
874ffa8f72
1 changed files with 4 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue