From: Eric Dumazet Date: Wed, 2 Jun 2010 10:24:13 +0000 (-0700) Subject: net: QDISC_STATE_RUNNING dont need atomic bit ops X-Git-Tag: v2.6.36-rc1~571^2~690 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=371121057607e;p=pandora-kernel.git net: QDISC_STATE_RUNNING dont need atomic bit ops __QDISC_STATE_RUNNING is always changed while qdisc lock is held. We can avoid two atomic operations in xmit path, if we move this bit in a new __state container. Location of this __state container is carefully chosen so that fast path only dirties one qdisc cache line. THROTTLED bit could later be moved into this __state location too, to avoid dirtying first qdisc cache line. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed