aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <[email protected]>2013-01-28 23:44:37 +0000
committerDavid S. Miller <[email protected]>2013-01-29 13:36:23 -0500
commit5f8e1e8b767bdb8e471d4f49612b88c606f8811e (patch)
treece54f4695fd3bc8b400dd28ed965de9cfa202cd6 /tools/perf/scripts/python/check-perf-trace.py
parentcd39a7890aed7433beb3188c7ad8591e260ebf10 (diff)
net: cacheline adjust struct inet_frags for better frag performance
The globally shared rwlock, of struct inet_frags, shares cacheline with the 'rnd' number, which is used by the hash calculations. Fix this, as this obviously is a bad idea, as unnecessary cache-misses will occur when accessing the 'rnd' number. Also small note that, moving function ptr (*match) up in struct, is to avoid it lands on the next cacheline (on 64-bit). Signed-off-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions