diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-12-20 13:13:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-29 17:53:47 +0100 |
commit | f349652293fb79fbd5768dfc18605200177b74d7 (patch) | |
tree | 0095d660e69984c5804f42284a85acee6dba1d7c | |
parent | d8f477a5cd2021552b135764b77df7c39b7dc504 (diff) | |
download | linux-stable-f349652293fb79fbd5768dfc18605200177b74d7.tar.gz linux-stable-f349652293fb79fbd5768dfc18605200177b74d7.tar.bz2 linux-stable-f349652293fb79fbd5768dfc18605200177b74d7.zip |
block: unalign call_single_data in struct request
commit 4ccafe032005e9b96acbef2e389a4de5b1254add upstream.
A previous change blindly added massive alignment to the
call_single_data structure in struct request. This ballooned it in size
from 296 to 320 bytes on my setup, for no valid reason at all.
Use the unaligned struct __call_single_data variant instead.
Fixes: 966a967116e69 ("smp: Avoid using two cache lines for struct call_single_data")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 8da66379f7ea..fd47bd96b5d3 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -135,7 +135,7 @@ typedef __u32 __bitwise req_flags_t; struct request { struct list_head queuelist; union { - call_single_data_t csd; + struct __call_single_data csd; u64 fifo_time; }; |