diff options
author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2023-12-03 17:26:53 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-12-04 20:13:30 -0400 |
commit | 51ac45a6636221d94e0b840cb8dd3d08b3622d64 (patch) | |
tree | 34f39bfe621d6fe77a4535482b3929fbead3858e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 84de14baf81675a98dc0fe617a93eacf9a417de3 (diff) |
RDMA/siw: Reduce memory usage of struct siw_rx_stream
We can reduce the memory of the struct by move some of it's
member.
Before,
/* size: 144, cachelines: 3, members: 17 */
/* sum members: 124, holes: 3, sum holes: 12 */
/* sum bitfield members: 7 bits (0 bytes) */
/* padding: 7 */
/* bit_padding: 1 bits */
After
/* size: 128, cachelines: 2, members: 17 */
/* padding: 3 */
/* bit_padding: 1 bits */
Link: https://lore.kernel.org/r/20231203092655.28102-3-guoqing.jiang@linux.dev
Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions