Re: [PATCH] block: reorder request_queue to remove 64 bit alignment padding

From: Tejun Heo
Date: Wed Jul 13 2011 - 05:20:55 EST


Hello,

On Mon, Jul 11, 2011 at 4:19 PM, Richard Kennedy
<richard@xxxxxxxxxxxxxxx> wrote:
> Reorder request_queue to remove 16 bytes of alignment padding in 64 bit
> builds.
>
> On my config this shrinks the size of this structure from 1608 to 1592
> bytes and therefore needs one fewer cachelines.
>
> Also trivially move the open bracket { to be on the same line as the
> structure name to make it easier to grep.
>
>
> Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thank you.

--
tejun
--
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/