Re: [PATCH] libata: reorder ata_queued_cmd to remove alignment paddingon 64 bit builds

From: Jeff Garzik
Date: Fri Sep 17 2010 - 02:13:26 EST


On 09/10/2010 07:19 AM, Richard Kennedy wrote:
Reorder structure ata_queued_cmd to remove 8 bytes of alignment padding
on 64 bit builds& therefore reduce the size of structure ata_port by
256 bytes.

Overall this will have little impact, other than reducing the amount of
memory that is cleared when allocating ata_ports.

Signed-off-by: Richard Kennedy<richard@xxxxxxxxxxxxxxx>
----
patch against 2.6.36-rc3
compiled& tested on x86_64

I've been running this patch for a couple of weeks with no apparent
issues.

regards

applied


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/