Skip to content

dmapool enhancements

Keith Busch linux-arm-msm linux-mm lkml 4 versions – Applied

Status from this message: [merged mm-stable] dmapool-create-destroy-cleanup.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 8 repliesApplied 12/12
  2. v312 patches 5 repliesSuperseded
  3. v211 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches1 replySuperseded

Patches in v4 All 12 applied

#Subject and filesSizeRepliesApplied
1/12dmapool: add alloc/free performance testmm/Kconfig mm/Makefile mm/dmapool_test.c+157 -00 repliesApplied
2/12dmapool: remove checks for dev == NULLmm/dmapool.c+14 -310 repliesApplied
3/12dmapool: use sysfs_emit() instead of scnprintf()mm/dmapool.c+7 -160 repliesApplied
4/12dmapool: cleanup integer typesmm/dmapool.c+11 -80 repliesApplied
5/12dmapool: speedup DMAPOOL_DEBUG with init_on_allocmm/dmapool.c+1 -10 repliesApplied
6/12dmapool: move debug code to own functionsmm/dmapool.c+77 -510 repliesApplied
7/12dmapool: rearrange page alloc failure handlingmm/dmapool.c+9 -70 repliesApplied
8/12dmapool: consolidate page initializationmm/dmapool.c+3 -40 repliesApplied
9/12dmapool: simplify freeingmm/dmapool.c+6 -160 repliesApplied
10/12dmapool: don't memset on free twicemm/dmapool.c+2 -20 repliesApplied
11/12dmapool: link blocks across pagesmm/dmapool.c+119 -1276 repliesApplied
12/12dmapool: create/destroy cleanupmm/dmapool.c+4 -60 repliesApplied

Reviews trailers per patch

11 of 12 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/12
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 00/12] dmapool enhancements

From: Keith Busch <[email protected]>

Time spent in dma_pool alloc/free increases linearly with the number of pages backing the pool. We can reduce this to constant time with minor changes to how free pages are tracked.

Changes since v4:

Added received reviews

Applied comments from Christoph:
Combined all debug code in one #ifdef block
Fixed some whitespace

Keith Busch (8):
dmapool: add alloc/free performance test
dmapool: move debug code to own functions
dmapool: rearrange page alloc failure handling
dmapool: consolidate page initialization
dmapool: simplify freeing
dmapool: don't memset on free twice
dmapool: link blocks across pages
dmapool: create/destroy cleanup

Tony Battersby (4):
dmapool: remove checks for dev == NULL
dmapool: use sysfs_emit() instead of scnprintf()
dmapool: cleanup integer types
dmapool: speedup DMAPOOL_DEBUG with init_on_alloc

 mm/Kconfig        |   9 ++
 mm/Makefile       |   1 +
 mm/dmapool.c      | 402 ++++++++++++++++++++++------------------------
 mm/dmapool_test.c | 147 +++++++++++++++++
 4 files changed, 350 insertions(+), 209 deletions(-)
 create mode 100644 mm/dmapool_test.c
Signature · 1 line
2.30.2