diff options
| author | Anand Khoje <[email protected]> | 2021-06-16 21:15:08 +0530 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-06-21 20:49:32 -0300 |
| commit | 84dcd8c7eab8bc29a6eb402b535651171a9a9d54 (patch) | |
| tree | 4369b068352b8d116e9846f0efc2680aa67a2057 /tools/perf/scripts/python | |
| parent | c5f8f2c5e5bfd4fd5fc5c413051ad14b7873b1fd (diff) | |
IB/core: Shuffle locks in ib_port_data to save memory
pahole shows two 4-byte holes in struct ib_port_data after pkey_list_lock
and netdev_lock respectively.
Shuffling the netdev_lock to be after pkey_list_lock, this shaves off
eight bytes from the struct.
Link: https://lore.kernel.org/r/[email protected]
Suggested-by: Haakon Bugge <[email protected]>
Signed-off-by: Anand Khoje <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions