]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/zcrx: don't adjust free cache space
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 16 Sep 2025 14:28:00 +0000 (15:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Sep 2025 18:37:21 +0000 (12:37 -0600)
commit5a8b6e7c1d7b5863faaf392eafa089bd599a8973
treeee753863538cd213c97ab3746349a9b108afec2b
parentc95257f336556de05f26dc88a890fb2a59364939
io_uring/zcrx: don't adjust free cache space

The cache should be empty when io_pp_zc_alloc_netmems() is called,
that's promised by page pool and further checked, so there is no need to
recalculate the available space in io_zcrx_ring_refill().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c