Re: [PATCH] fs: remove 8 bytes of padding from structwriteback_control on 64 bit builds

From: Fengguang Wu
Date: Wed Apr 25 2012 - 09:58:12 EST


On Wed, Apr 25, 2012 at 02:53:05PM +0100, Richard Kennedy wrote:
> Reorder structure writeback_control to remove 8 bytes of padding on 64
> bit builds, this shrinks its size from 48 to 40 bytes.
>
> This structure is always on the stack and uses C99 named initialisation,
> so should be safe and have a small impact on stack usage.
>
> Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>
>
> --
>
> patch against v3.4-rc4
> compiled and tested on x86_64
>
> I've been running my desktop with this patch applied for several days
> and have not seen any problems.
> regards
> Richard

Applied, thanks!

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