Re: [PATCH 1/3] aio-posix: treat io_uring setup failure as fatal

2025-04-28 Thread Stefan Hajnoczi
On Fri, Apr 25, 2025 at 05:51:43PM +0200, Kevin Wolf wrote: > Am 01.04.2025 um 16:27 hat Stefan Hajnoczi geschrieben: > > In the early days of io_uring it was possible for io_uring_setup(2) to > > fail due to exhausting RLIMIT_MEMLOCK. QEMU's solution was to fall back > > to epoll(7) or ppoll(2) wh

Re: [PATCH 1/3] aio-posix: treat io_uring setup failure as fatal

2025-04-25 Thread Kevin Wolf
Am 01.04.2025 um 16:27 hat Stefan Hajnoczi geschrieben: > In the early days of io_uring it was possible for io_uring_setup(2) to > fail due to exhausting RLIMIT_MEMLOCK. QEMU's solution was to fall back > to epoll(7) or ppoll(2) when io_uring could not be used in an > AioContext. > > Nowadays io_u

[PATCH 1/3] aio-posix: treat io_uring setup failure as fatal

2025-04-01 Thread Stefan Hajnoczi
In the early days of io_uring it was possible for io_uring_setup(2) to fail due to exhausting RLIMIT_MEMLOCK. QEMU's solution was to fall back to epoll(7) or ppoll(2) when io_uring could not be used in an AioContext. Nowadays io_uring memory is accounted differently so io_uring_setup(2) won't fail