public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH 0/2] io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area()
@ 2023-07-21 15:24 Helge Deller
  2023-07-21 15:24 ` [PATCH 1/2] " Helge Deller
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Helge Deller @ 2023-07-21 15:24 UTC (permalink / raw)
  To: linux-kernel, io-uring, Jens Axboe, linux-ia64, Jiri Slaby,
	linux-parisc
  Cc: Helge Deller

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-24  7:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21 15:24 [PATCH 0/2] io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area() Helge Deller
2023-07-21 15:24 ` [PATCH 1/2] " Helge Deller
2023-07-24  7:39   ` Jiri Slaby
2023-07-21 15:24 ` [PATCH 2/2] ia64: mmap: Consider pgoff when searching for free mapping Helge Deller
2023-07-21 15:42 ` [PATCH 0/2] io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area() Jens Axboe
2023-07-21 15:42 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox