summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-03-30 20:16:22 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-01 18:41:40 -0700
commit152102c7f2bf191690f1069bae292ea3925adf14 (patch)
tree093ce1204a81acd76623a567b821661c504bc575 /include/net
parent630b943c182d1aed69f244405131902fbcba7ec6 (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