pgsql: aio: Combine io_uring memory mappings, if supported

2025-07-07 Thread Andres Freund
aio: Combine io_uring memory mappings, if supported By default io_uring creates a shared memory mapping for each io_uring instance, leading to a large number of memory mappings. Unfortunately a large number of memory mappings slows things down, backend exit is particularly affected. To address th

pgsql: aio: Combine io_uring memory mappings, if supported

2025-07-07 Thread Andres Freund
aio: Combine io_uring memory mappings, if supported By default io_uring creates a shared memory mapping for each io_uring instance, leading to a large number of memory mappings. Unfortunately a large number of memory mappings slows things down, backend exit is particularly affected. To address th