]> Git Repo - linux.git/commit
dmapool: add alloc/free performance test
authorKeith Busch <[email protected]>
Thu, 26 Jan 2023 21:51:14 +0000 (13:51 -0800)
committerAndrew Morton <[email protected]>
Thu, 6 Apr 2023 02:42:38 +0000 (19:42 -0700)
commitdef8574308edbc3bca821fb965e429a2fe5f4971
tree415822a2abc80d0897b69c0c3e9b03a4981fa3a6
parent3c556d2425b04054e22045d4ef7d34f163b7a71a
dmapool: add alloc/free performance test

Patch series "dmapool enhancements", v4.

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.

This patch (of 12):

Provide a module that allocates and frees many blocks of various sizes and
report how long it takes.  This is intended to provide a consistent way to
measure how changes to the dma_pool_alloc/free routines affect timing.

Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Keith Busch <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Tony Battersby <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/Kconfig
mm/Makefile
mm/dmapool_test.c [new file with mode: 0644]
This page took 0.056018 seconds and 4 git commands to generate.