]> Pileus Git - ~andy/linux/commit
fs: remove 8 bytes of padding from struct writeback_control on 64 bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Wed, 25 Apr 2012 13:53:05 +0000 (14:53 +0100)
committerFengguang Wu <fengguang.wu@intel.com>
Wed, 25 Apr 2012 13:58:11 +0000 (21:58 +0800)
commit4cd9069a0a0e5fb8b007425c937642682ac96c76
treecb7872cb3a6a22b1503349106faa1ad0068f8cbc
parent18cf8cf8bab1296f477ee4dd8f78b5b23c5a192e
fs: remove 8 bytes of padding from struct writeback_control on 64 bit builds

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@rsk.demon.co.uk>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
include/linux/writeback.h