aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/cpu.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-06-24 13:40:34 +0000
committerJens Axboe <[email protected]>2025-06-25 02:50:59 +0000
commit3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b (patch)
treea06519191c7d9638f3f55a46f9f57dc9eac58df8 /rust/helpers/cpu.c
parentio_uring/rsrc: fix folio unpinning (diff)
downloadkernel-3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b.tar.gz
kernel-3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b.zip
io_uring/rsrc: don't rely on user vaddr alignment
There is no guaranteed alignment for user pointers, however the calculation of an offset of the first page into a folio after coalescing uses some weird bit mask logic, get rid of it. Cc: [email protected] Reported-by: David Hildenbrand <[email protected]> Fixes: a8edbb424b139 ("io_uring/rsrc: enable multi-hugepage buffer coalescing") Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/io-uring/e387b4c78b33f231105a601d84eefd8301f57954.1750771718.git.asml.silence@gmail.com/ Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions