* [PATCH] libata: reorder ata_device to remove 8 bytes of padding on 64 bits
@ 2008-08-21 13:47 Richard Kennedy
0 siblings, 0 replies; only message in thread
From: Richard Kennedy @ 2008-08-21 13:47 UTC (permalink / raw)
To: jgarzik; +Cc: lkml, linux-ide
reduce size by 8 bytes from 1160 to 1152 allowing it to fit in 1 fewer
cachelines.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
---
patch against 2.6.27-rc4 compiled & run on AMD64.
Richard
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 06b8033..84a7a0d 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -553,8 +553,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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-21 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-21 13:47 [PATCH] libata: reorder ata_device to remove 8 bytes of padding on 64 bits Richard Kennedy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®