commit | 8c52d509e84bbf26cffb8b6e75b399689af67885 | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Sat Apr 24 22:50:10 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 24 22:50:10 2010 -0700 |
tree | d26461f82d204e044f68a8f85b4b4ea71682b09d | |
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>