commit | 152102c7f2bf191690f1069bae292ea3925adf14 | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Tue Mar 30 20:16:22 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 01 18:41:40 2010 -0700 |
tree | 093ce1204a81acd76623a567b821661c504bc575 | |
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>