diff options
author | Christophe JAILLET <[email protected]> | 2023-05-01 14:40:28 +0200 |
---|---|---|
committer | Keith Busch <[email protected]> | 2023-06-12 10:36:51 -0700 |
commit | 0f5335e15897fa989ffc301e4657ed5aa7b62f9f (patch) | |
tree | c7519b471a0794a882b4f9566126b2513050af48 /drivers/fpga/fpga-bridge.c | |
parent | e64b0c807cdb7e1c8c6cd1a1b4e72027d1034d91 (diff) |
nvmet: reorder fields in 'struct nvme_dhchap_queue_context'
Group some variables based on their sizes to reduce holes.
On x86_64, this shrinks the size of 'struct nvme_dhchap_queue_context' from
416 to 400 bytes.
This structure is kvcalloc()'ed in nvme_auth_init_ctrl(), so it is likely
that the allocation can be relatively big. Saving 16 bytes per structure
may might a slight difference.
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions