cfq: reorder cfq_queue removing padding on 64bit
authorRichard Kennedy <richard@rsk.demon.co.uk>
Mon, 22 Feb 2010 12:49:24 +0000 (13:49 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 22 Feb 2010 12:49:24 +0000 (13:49 +0100)
commitc4081ba5c9f6f7bdffe49e501a8604a2c0797ef9
tree2c2f59a61dc7a68088ff36262de3834b46334477
parentf11cbd74c5ff3614f6390b4de67a6ffdc614c378
cfq: reorder cfq_queue removing padding on 64bit

This removes 8 bytes of padding from struct cfq_queue on 64 bit builds,
shrinking it's size to 256 bytes, so fitting into 1 fewer cachelines and
allowing 1 more object/slab in it's kmem_cache.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
----
patch against 2.6.33-rc8
tested on x86_64 AMDX2
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c