[00/11] dmapool enhancements

Message ID 20221205145937.54367-1-kbusch@meta.com
Headers
Series dmapool enhancements |

Message

Keith Busch Dec. 5, 2022, 2:59 p.m. UTC
  From: Keith Busch <kbusch@kernel.org>



Keith Busch (7):
  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

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      | 354 ++++++++++++++++++++++------------------------
 mm/dmapool_test.c | 138 ++++++++++++++++++
 4 files changed, 315 insertions(+), 187 deletions(-)
 create mode 100644 mm/dmapool_test.c