zram: don't use highmem for the bounce buffer in zram_bvec_{read,write}
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Apr 2023 17:14:50 +0000 (19:14 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:29:58 +0000 (16:29 -0700)
commitf575a5add8a9a3ca593e58e218f2113e5bd3e50e
tree9ae01779e3f172834c738de30d44582ce0d6214b
parent82ca875d2549f6843d0d16e897c9e1e0a13c8a74
zram: don't use highmem for the bounce buffer in zram_bvec_{read,write}

There is no point in allocation a highmem page when we instantly need to
copy from it.

Link: https://lkml.kernel.org/r/20230411171459.567614-9-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>
drivers/block/zram/zram_drv.c