]> git.baikalelectronics.ru Git - kernel.git/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)
commit84ba02c3c82478e6816586153a4b91bf4bd5a906
treecb7872cb3a6a22b1503349106faa1ad0068f8cbc
parent24f4a81765e758ec028d6b3eeb76f5c24a727ed1
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