aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2025-05-12 15:06:06 +0000
committerJens Axboe <[email protected]>2025-05-12 15:27:41 +0000
commitf446c6311e86618a1f81eb576b56a6266307238f (patch)
tree0a3c08bb1ad78adaaafc9f377204e2eae1a6d7d9 /rust/helpers
parentio_uring/uring_cmd: fix hybrid polling initialization issue (diff)
downloadkernel-f446c6311e86618a1f81eb576b56a6266307238f.tar.gz
kernel-f446c6311e86618a1f81eb576b56a6266307238f.zip
io_uring/memmap: don't use page_address() on a highmem page
For older/32-bit systems with highmem, don't assume that the pages in a mapped region are always going to be mapped. If io_region_init_ptr() finds that the pages are coalescable, also check if the first page is a HighMem page or not. If it is, fall through to the usual vmap() mapping rather than attempt to get the unmapped page address. Cc: [email protected] Fixes: c4d0ac1c1567 ("io_uring/memmap: optimise single folio regions") Link: https://lore.kernel.org/all/[email protected]/ Reported-by: [email protected] Link: https://lore.kernel.org/all/[email protected]/ Reported-by: [email protected] Tested-by: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions