]> Gentwo Git Trees - linux/.git/commit
io_uring/zcrx: use folio_nr_pages() instead of shift operation
authorPedro Demarchi Gomes <pedrodemargomes@gmail.com>
Thu, 13 Nov 2025 10:46:10 +0000 (10:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Nov 2025 18:19:37 +0000 (11:19 -0700)
commita0169c3a62875d1bafa0caffa42e1d1cf6aa40e6
tree741681dbd6c223e8a259c999b7a52335500a9240
parentf0243d2b86b97a575a7a013370e934f70ee77dd3
io_uring/zcrx: use folio_nr_pages() instead of shift operation

folio_nr_pages() is a faster helper function to get the number of pages when
NR_PAGES_IN_LARGE_FOLIO is enabled.

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