diff options
| author | Tobias Holl <[email protected]> | 2023-05-03 14:59:50 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-03 15:00:22 +0000 |
| commit | 776617db78c6d208780e7c69d4d68d1fa82913de (patch) | |
| tree | 8c81c3a20db72058af205842f0c34a809f64c830 /lib/debugobjects.c | |
| parent | Revert "io_uring/rsrc: disallow multi-source reg buffers" (diff) | |
| download | kernel-776617db78c6d208780e7c69d4d68d1fa82913de.tar.gz kernel-776617db78c6d208780e7c69d4d68d1fa82913de.zip | |
io_uring/rsrc: check for nonconsecutive pages
Pages that are from the same folio do not necessarily need to be
consecutive. In that case, we cannot consolidate them into a single bvec
entry. Before applying the huge page optimization from commit 57bebf807e2a
("io_uring/rsrc: optimise registered huge pages"), check that the memory
is actually consecutive.
Cc: [email protected]
Fixes: 57bebf807e2a ("io_uring/rsrc: optimise registered huge pages")
Signed-off-by: Tobias Holl <[email protected]>
[axboe: formatting]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
