summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorJens Axboe2017-12-20 21:14:42 +0100
committerJens Axboe2017-12-20 21:16:33 +0100
commit0864fe09ab90ab32b7d21fe3cd72df5b5af8492e (patch)
tree0eccf5d3eb91f7eb9432e7c70b03dc33184b7b58 /mm/backing-dev.c
parentblock: unalign call_single_data in struct request (diff)
downloadkernel-qcow2-linux-0864fe09ab90ab32b7d21fe3cd72df5b5af8492e.tar.gz
kernel-qcow2-linux-0864fe09ab90ab32b7d21fe3cd72df5b5af8492e.tar.xz
kernel-qcow2-linux-0864fe09ab90ab32b7d21fe3cd72df5b5af8492e.zip
null_blk: unalign call_single_data
Commit 966a967116e6 randomly added alignment to this structure, but it's actually detrimental to performance of null_blk. Test case: Running on both the home and remote node shows a ~5% degradation in performance. While in there, move blk_status_t to the hole after the integer tag in the nullb_cmd structure. After this patch, we shrink the size from 192 to 152 bytes. Fixes: 966a967116e69 ("smp: Avoid using two cache lines for struct call_single_data") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions