]> Git Repo - linux.git/commit
io_uring/rsrc: optimise registered huge pages
authorPavel Begunkov <[email protected]>
Wed, 22 Feb 2023 14:36:51 +0000 (14:36 +0000)
committerJens Axboe <[email protected]>
Wed, 22 Feb 2023 16:57:24 +0000 (09:57 -0700)
commit57bebf807e2abcf87d96b9de1266104ee2d8fc2f
treef4c559a79f63484b72fd1cfcea0cb84676274aa9
parentb000ae0ec2d709046ac1a3c5722fea417f8a067e
io_uring/rsrc: optimise registered huge pages

When registering huge pages, internally io_uring will split them into
many PAGE_SIZE bvec entries. That's bad for performance as drivers need
to eventually dma-map the data and will do it individually for each bvec
entry. Coalesce huge pages into one large bvec.

Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
io_uring/rsrc.c
This page took 0.048693 seconds and 4 git commands to generate.