summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-06-20 18:10:08 +0300
committerJens Axboe <axboe@kernel.dk>2025-07-01 05:13:42 +0300
commit857f431824aacb22bd051c0f4c44c708659028b1 (patch)
tree53c986de829580b72c67cde2060c9bed28490c43 /net/lapb/lapb_iface.c
parentc9d066ebfd2fbd89173716f60578ed6e416712e4 (diff)
downloadlinux-857f431824aacb22bd051c0f4c44c708659028b1.tar.xz
ublk: cache-align struct ublk_io
struct ublk_io is already 56 bytes on 64-bit architectures, so round it up to a full cache line (typically 64 bytes). This ensures a single ublk_io doesn't span multiple cache lines and prevents false sharing if consecutive ublk_io's are accessed by different daemon tasks. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20250620151008.3976463-15-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions