Skip to content
Commit d7b76301 authored by Richard Kennedy's avatar Richard Kennedy Committed by Jens Axboe
Browse files

block: reorder request_queue to remove 64 bit alignment padding



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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 7700fc4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment