Message ID | cover.1732886067.git.asml.silence@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | kernel allocated regions and convert memmap to regions | expand |
On Fri, 29 Nov 2024 13:34:21 +0000, Pavel Begunkov wrote: > The first part of the series (Patches 1-11) implement kernel allocated > regions, which is the classical way SQ/CQ are created. It should be > straightforward with simple preparations patches and cleanups. The main > part is Patch 10, which internally implements kernel allocations, and > Patch 11 that implementing the mmap part and exposes it to reg-wait / > parameter region users. > > [...] Applied, thanks! [01/18] io_uring: rename ->resize_lock commit: e4e0f7d04627a3a8380bda82c4690f598b095b66 [02/18] io_uring/rsrc: export io_check_coalesce_buffer commit: b5c715ee796dee285f902276c38c808f6a7799cf [03/18] io_uring/memmap: flag vmap'ed regions commit: ea57c4c88ffb3f7247200275435bf4aa4894f965 [04/18] io_uring/memmap: flag regions with user pages commit: 67b855ba258319abe9fac15e6ddf07e57c1589c5 [05/18] io_uring/memmap: account memory before pinning commit: 85652c20eda52bdf2ecb059da0e5d9c50f2824b7 [06/18] io_uring/memmap: reuse io_free_region for failure path commit: 3e0b1575a596cded61eee4ef75870a741a40fcc4 [07/18] io_uring/memmap: optimise single folio regions commit: 1e80236d16da642240292194c9e34fb37664f606 [08/18] io_uring/memmap: helper for pinning region pages commit: 5e015f23f7d382ed1a301d015284bc8cca87335b [09/18] io_uring/memmap: add IO_REGION_F_SINGLE_REF commit: 8acfcf152fef8566a19fe9cdbacdb6a6bdec5520 [10/18] io_uring/memmap: implement kernel allocated regions commit: 9407cfd8c016024e23ef9c37e422b204dfaf435c [11/18] io_uring/memmap: implement mmap for regions commit: efd160a19fdb27db0436a21194972a4ce49bab2d [12/18] io_uring: pass ctx to io_register_free_rings commit: 458b0ea4de8d5045e446035a1cdb49f1e6f01789 [13/18] io_uring: use region api for SQ commit: 5f58f826fcbff03f392fda796445992d59d34a80 [14/18] io_uring: use region api for CQ commit: 9c0966c93e771eb17da6a41721c4f6613f616212 [15/18] io_uring/kbuf: use mmap_lock to sync with mmap commit: 8dec4fa7082c0f8dd9692ac110777a994258a798 [16/18] io_uring/kbuf: remove pbuf ring refcounting commit: 6a2036aec3830a293a5ca2d6059b5e4a450a4e0e [17/18] io_uring/kbuf: use region api for pbuf rings commit: d67839c6abfe5dd505390710502e2f9944a51126 [18/18] io_uring/memmap: unify io_uring mmap'ing code commit: 17f5a7960c70c9a1ec4cb9a63be0898a47af804a Best regards,
On 11/29/24 6:34 AM, Pavel Begunkov wrote: > The first part of the series (Patches 1-11) implement kernel allocated > regions, which is the classical way SQ/CQ are created. It should be > straightforward with simple preparations patches and cleanups. The main > part is Patch 10, which internally implements kernel allocations, and > Patch 11 that implementing the mmap part and exposes it to reg-wait / > parameter region users. > > The rest (Patches 12-18) converts SQ, CQ and provided buffers rings > to regions, which carves a common path for all of them and removes > duplication. This is really nice, great unification of it all. And the diffstat tells that story too.