summaryrefslogtreecommitdiffstats
path: root/crypto/deflate.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-11 19:14:46 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-04-19 01:29:57 +0200
commitaf8b04c63708fa730c0257084fab91fb2a9cecc4 (patch)
treed36912ad176e9d93b2d7ab783157de2effeab77b /crypto/deflate.c
parentzram: make zram_bio_discard more self-contained (diff)
downloadlinux-af8b04c63708fa730c0257084fab91fb2a9cecc4.tar.xz
linux-af8b04c63708fa730c0257084fab91fb2a9cecc4.zip
zram: simplify bvec iteration in __zram_make_request
bio_for_each_segment synthetize bvecs that never cross page boundaries, so don't duplicate that work in an inner loop. Link: https://lkml.kernel.org/r/20230411171459.567614-5-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Acked-by: Minchan Kim <minchan@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'crypto/deflate.c')
0 files changed, 0 insertions, 0 deletions