diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-22 17:25:46 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-23 15:59:31 -0800 |
commit | 5a0598695634a6bb4126818902dd9140cd9df8b6 (patch) | |
tree | fb56b27419943889ce2b976b89a600ad530ce35f /crypto/salsa20_generic.c | |
parent | d5a49aa6c3e264a93a7d08485d66e346be0969dd (diff) |
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 'crypto/salsa20_generic.c')
0 files changed, 0 insertions, 0 deletions