diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-03-30 20:16:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-01 18:41:40 -0700 |
commit | 152102c7f2bf191690f1069bae292ea3925adf14 (patch) | |
tree | 093ce1204a81acd76623a567b821661c504bc575 /include/net | |
parent | 630b943c182d1aed69f244405131902fbcba7ec6 (diff) |
rps: keep the old behavior on SMP without rps
keep the old behavior on SMP without rps
RPS introduces a lock operation to per cpu variable input_pkt_queue on
SMP whenever rps is enabled or not. On SMP without RPS, this lock isn't
needed at all.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
net/core/dev.c | 42 ++++++++++++++++++++++++++++--------------
1 file changed, 28 insertions(+), 14 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions