aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorLi RongQing <[email protected]>2018-12-06 16:08:17 +0800
committerDavid S. Miller <[email protected]>2018-12-06 12:15:27 -0800
commit83b1bc122cab87547731a154db5feec5b9d4807c (patch)
treed338b04983991a80cc807a0d01282f05076a65d1 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent7a35a50df5a34e6eaee1b1f4f913b84879068fee (diff)
tun: align write-heavy flow entry members to a cache line
tun flow entry 'updated' fields are written when receive every packet. Thus if a flow is receiving packets from a particular flow entry, it'll cause false-sharing with all the other who has looked it up, so move it in its own cache line and update 'queue_index' and 'update' field only when they are changed to reduce the cache false-sharing. Signed-off-by: Zhang Yu <[email protected]> Signed-off-by: Wang Li <[email protected]> Signed-off-by: Li RongQing <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions