]> Pileus Git - ~andy/linux/commit
fib_rules: reorder struct fib_rules fields
authorEric Dumazet <edumazet@google.com>
Sat, 3 Aug 2013 18:50:35 +0000 (11:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Aug 2013 18:53:54 +0000 (11:53 -0700)
commitfba3679d34511c42bf452e89dda457a1219eb43a
treee15630906314e3243c2053887bd1f32af8a40f2e
parent73f5698e77219bfc3ea1903759fe8e20ab5b285e
fib_rules: reorder struct fib_rules fields

Move refcnt, pref, suppress_ifgroup, suppress_prefixlen out of first
cache line, as they are not used in fast path.

Make sure ctarget & fr_net are in first cache line.

(Assuming 64 bit arches and 64 bytes cache lines)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/fib_rules.h