From: Changli Gao Date: Tue, 30 Mar 2010 20:16:22 +0000 (+0000) Subject: rps: keep the old behavior on SMP without rps X-Git-Tag: v2.6.35-rc1~473^2~625 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=152102c7f2bf191690f1069bae292ea3925adf14;p=pandora-kernel.git 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 ---- net/core/dev.c | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) Signed-off-by: David S. Miller --- Reading git-diff-tree failed