net: keep name_hlist close to name
authorEric Dumazet <edumazet@google.com>
Mon, 11 Jun 2012 06:36:13 +0000 (06:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jun 2012 20:11:28 +0000 (13:11 -0700)
__dev_get_by_name() is slow because pm_qos_req has been inserted between
name[] and name_hlist, adding cache misses.

pm_qos_req has nothing to do at the beginning of struct net_device

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

No differences found