dmapool performance enhancements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/dmapool: replace linked list with xarraymm/ | +16 | 2 replies | |
| 2/2 | mm/dmapool: link blocks across pagesmm/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] dmapool performance enhancements
From: Keith Busch <[email protected]>
Allocating and freeing blocks from the dmapool iterates a list of all allocated pages. We can save time removing the per-alloc/free list traversal for a constant time lookup, so this series does that.
Compared to current kernel, perf record from running io_uring benchmarks on nvme reports dma_pool_alloc() cost reduction cut in half from 0.81% to 0.41%.
Keith Busch (2):
mm/dmapool: replace linked list with xarray
mm/dmapool: link blocks across pages
mm/dmapool.c | 107 +++++++++++++++++++++++++++------------------------ 1 file changed, 56 insertions(+), 51 deletions(-)
Signature · 1 line
2.30.2