summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-12-20 13:13:58 -0700
committerJens Axboe <axboe@kernel.dk>2017-12-20 13:16:33 -0700
commit4ccafe032005e9b96acbef2e389a4de5b1254add (patch)
treecb51d98533349082a57e9573d190343e6034a39c /include
parent111be883981748acc9a56e855c8336404a8e787c (diff)
downloadlinux-4ccafe032005e9b96acbef2e389a4de5b1254add.tar.gz
linux-4ccafe032005e9b96acbef2e389a4de5b1254add.tar.bz2
linux-4ccafe032005e9b96acbef2e389a4de5b1254add.zip
block: unalign call_single_data in struct request
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") Cc: stable@vger.kernel.org # v4.14 Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blkdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 100d0df38026..0ce8a372d506 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;
};