From: Eric Dumazet Date: Thu, 6 May 2010 23:51:21 +0000 (+0000) Subject: rps: avoid one atomic in enqueue_to_backlog X-Git-Tag: v2.6.35-rc1~473^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebda37c27d0c768947e9b058332d7ea798210cf8;p=pandora-kernel.git rps: avoid one atomic in enqueue_to_backlog If CONFIG_SMP=y, then we own a queue spinlock, we can avoid the atomic test_and_set_bit() from napi_schedule_prep(). We now have same number of atomic ops per netif_rx() calls than with pre-RPS kernel. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed