Move away from remap_pfn_range()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest11 patches 2 repliesIn review
- v210 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- Simplify references on compound pages (Johannes)
- Fix hunk of one patch being wrong (Jeff)
- Fix typo for !CONFIG_MMU (me)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | mm: add nommu variant of vm_insert_pages()mm/ | +7 | 0 replies | |
| 2/11 | io_uring: get rid of remap_pfn_range() for mapping rings/sqesio_uring/ io_uring/ | +130 | 2 replies | |
| 3/11 | io_uring: use vmap() for ring mappingio_uring/ | +9 | 0 replies | |
| 4/11 | io_uring: unify io_pin_pages()io_uring/ io_uring/ | +42 | 0 replies | |
| 5/11 | io_uring/kbuf: get rid of lower BGID listsinclude/ io_uring/ io_uring/ | +8 | 0 replies | |
| 6/11 | io_uring/kbuf: get rid of bl->is_readyio_uring/ io_uring/ | +0 | 0 replies | |
| 7/11 | io_uring/kbuf: vmap pinned buffer ringio_uring/ | +15 | 0 replies | |
| 8/11 | io_uring/kbuf: protect io_buffer_list teardown with a referenceio_uring/ io_uring/ | +13 | 0 replies | |
| 9/11 | io_uring/kbuf: use vm_insert_pages() for mmap'ed pbuf ringinclude/ io_uring/ io_uring/ +2 more | +85 | 0 replies | |
| 10/11 | io_uring: use unpin_user_pages() where appropriateio_uring/ io_uring/ | +3 | 0 replies | |
| 11/11 | io_uring: move mapping/allocation helpers to a separate fileio_uring/ io_uring/ io_uring/ +4 more | +364 | 0 replies |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Johannes Weiner |
|---|---|
| 1/11 | A-b |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHSET v3 0/11] Move away from remap_pfn_range()
Hi,
This series switches both the ring, sqes, and kbuf side away from using remap_pfn_range().
Patch 1 is just a prep patch, and patches 2-3 add ring support, and patch 4 just unifies some identical code.
Patches 5-7 cleanup some kbuf side code, and patch 8 prepares buffer lists to be reference counted, and then patch 9 can finally switch kbuf to also use the nicer vm_insert_pages(). Patch 10 is a cleanup, and patch 11 moves the alloc/pin/map etc code into a separate file.
With this, no more remap_pfn_range(), and no more manual cleanup of having used it.
Changes since v2:
- Simplify references on compound pages (Johannes)
- Fix hunk of one patch being wrong (Jeff)
- Fix typo for !CONFIG_MMU (me)
include/linux/io_uring_types.h | 4 - io_uring/Makefile | 3 +- io_uring/io_uring.c | 246 +----------------------- io_uring/io_uring.h | 5 - io_uring/kbuf.c | 291 ++++++++-------------------- io_uring/kbuf.h | 11 +- io_uring/memmap.c | 333 +++++++++++++++++++++++++++++++++ io_uring/memmap.h | 25 +++ io_uring/rsrc.c | 37 +--- mm/nommu.c | 7 + 10 files changed, 467 insertions(+), 495 deletions(-)
Signature · 1 line
Jens Axboe