summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorTobias Holl <tobias@tholl.xyz>2023-05-03 08:59:50 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-11 23:17:38 +0900
commit3a0a9211d7d0138d55aecd209b05e6d4a9eec383 (patch)
tree0281760032a96267ffcc4f9776607690749ccc89 /lib/debugobjects.c
parent8bc13e33c152badb6459f3cdb12fa52d493d2a4e (diff)
io_uring/rsrc: check for nonconsecutive pages
commit 776617db78c6d208780e7c69d4d68d1fa82913de upstream. 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: stable@vger.kernel.org Fixes: 57bebf807e2a ("io_uring/rsrc: optimise registered huge pages") Signed-off-by: Tobias Holl <tobias@tholl.xyz> [axboe: formatting] Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions