diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-04-24 22:50:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-24 22:50:10 -0700 |
commit | 8c52d509e84bbf26cffb8b6e75b399689af67885 (patch) | |
tree | d26461f82d204e044f68a8f85b4b4ea71682b09d /net/ipv4/fib_rules.c | |
parent | bf73130d7f98c8c4db143e2dc4982f4eefd5d5e5 (diff) |
rps: optimize rps_get_cpu()
optimize rps_get_cpu().
don't initialize ports when we can get the ports. one memory access
for ports than two.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_rules.c')
0 files changed, 0 insertions, 0 deletions