]> Gentwo Git Trees - linux/.git/commit
scsi: ufs: core: Reduce the size of struct ufshcd_lrb
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 Aug 2025 15:43:49 +0000 (08:43 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 Aug 2025 02:22:16 +0000 (22:22 -0400)
commitb5940feda3dc7a12133c6589e463d2b3b6c7fe96
treec98a50a120916525a0f5c69774e490eb07f61902
parentcb7cc0cfb38cf50c902caadee0e0e87fc38490aa
scsi: ufs: core: Reduce the size of struct ufshcd_lrb

The size of the data structures that are used in the hot path matters
for performance (IOPS). Hence this patch that reduces the size of struct
ufshcd_lrb on 64-bit systems by 16 bytes. The size of this data
structure is reduced from 152 to 136 bytes.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20250819154356.2256952-1-bvanassche@acm.org
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/ufs/ufshcd.h