Skip to content

io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area()

Helge Deller io-uring linux-ia64 linux-parisc lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 1/2

Patches in v1 Applied · 1/2

#Subject and filesSizeRepliesApplied
1/2io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area()arch/parisc/kernel/sys_parisc.c io_uring/io_uring.c+27 -301 reply
2/2ia64: mmap: Consider pgoff when searching for free mappingarch/ia64/kernel/sys_ia64.c+1 -10 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchmatoroJiri Slaby
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area()

Fix io_uring on IA64 (and x86-32?) which was broken since commit d808459b2e31 ("io_uring: Adjust mapping wrt architecture aliasing requirements").
The fix is to switch back to the get_unmapped_area() which is provided by each architecture.

Patch 1 switches io_uring back to use per-arch get_unmapped_area(). Patch 2 (for IA64) is an independend cleanup.

Helge

Helge Deller (2):
io_uring: Fix io_uring mmap() by using architecture-provided
get_unmapped_area()
ia64: mmap: Consider pgoff when searching for free mapping

 arch/ia64/kernel/sys_ia64.c     |  2 +-
 arch/parisc/kernel/sys_parisc.c | 15 ++++++++----
 io_uring/io_uring.c             | 42 +++++++++++++--------------------
 3 files changed, 28 insertions(+), 31 deletions(-)

--
2.41.0