diff options
author | Christophe JAILLET <[email protected]> | 2023-06-18 11:33:55 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-20 20:06:16 -0700 |
commit | 066768b7305b1524d261fdc543d25fd60d955254 (patch) | |
tree | 9581fc60707833d60384e2495bca631baf7d4a67 /tools/perf/scripts/python/sched-migration.py | |
parent | 857922b16bb893d26d5ecd83acf9f20cb28eaea2 (diff) |
mctp: Reorder fields in 'struct mctp_route'
Group some variables based on their sizes to reduce hole and avoid padding.
On x86_64, this shrinks the size of 'struct mctp_route'
from 72 to 64 bytes.
It saves a few bytes of memory and is more cache-line friendly.
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Jeremy Kerr <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/393ad1a5aef0aa28d839eeb3d7477da0e0eeb0b0.1687080803.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions