summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-02-22 19:25:46 +0300
committerJakub Kicinski <kuba@kernel.org>2021-02-24 02:59:31 +0300
commit5a0598695634a6bb4126818902dd9140cd9df8b6 (patch)
treefb56b27419943889ce2b976b89a600ad530ce35f /tools/perf/scripts/python
parentd5a49aa6c3e264a93a7d08485d66e346be0969dd (diff)
downloadlinux-5a0598695634a6bb4126818902dd9140cd9df8b6.tar.xz
wireguard: peer: put frequently used members above cache lines
The is_dead boolean is checked for every single packet, while the internal_id member is used basically only for pr_debug messages. So it makes sense to hoist up is_dead into some space formerly unused by a struct hole, while demoting internal_api to below the lowest struct cache line. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions