diff options
author | Christoph Hellwig <hch@lst.de> | 2023-04-11 19:14:46 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-19 01:29:57 +0200 |
commit | af8b04c63708fa730c0257084fab91fb2a9cecc4 (patch) | |
tree | d36912ad176e9d93b2d7ab783157de2effeab77b /crypto/deflate.c | |
parent | zram: make zram_bio_discard more self-contained (diff) | |
download | linux-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