libata: reorder ata_device to remove 8 bytes of padding on 64 bits
PATCH 3/3 libata: reorder ata_device to remove 8 bytes of padding on 64 bits
From: Richard Kennedy <[email protected]>
reduce size by 8 bytes from 1160 to 1152 allowing it to fit in 1 fewer cachelines.
Signed-off-by Richard Kennedy <[email protected]>
Cc Jeff Garzik <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/libata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/libata.h renamed from include/linux/libata.h~libata-reorder-ata_device-to-remove-8-bytes-of-padding-on-64-bits +1 -1
@@ -554,8 +554,8 @@ struct ata_ering {struct ata_device {struct ata_link *link;unsigned int devno;/* 0 or 1 */ -unsigned long flags;/* ATA_DFLAG_xxx */ unsigned int horkage;/* List of broken features */ +unsigned long flags;/* ATA_DFLAG_xxx */ struct scsi_device *sdev;/* attached SCSI device */ #ifdef CONFIG_ATA_ACPI acpi_handle acpi_handle;
_
Quoted 8 lines · On Mon, 22 Sep 2008 14:47:13 -0700 [email protected] wrote:
From: Richard Kennedy <[email protected]>
reduce size by 8 bytes from 1160 to 1152 allowing it to fit in 1 fewer cachelines.
Signed-off-by Richard Kennedy <[email protected]>Cc Jeff Garzik <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Acked-by Alan Cox <[email protected]>