Skip to contentSkip to conversation

mm: kunit: complete the 2009 mm test suite trifecta

PATCH In review David Rientjes 2 participants 2 messages Nov 22 Memory management

lore
Share & tools
lore
#0 lore raw

cover mm: kunit: complete the 2009 mm test suite trifecta

Follow-up to "mm: vmstat_kunit: add synthetic benchmark for mm stats" staged in mm-unstable.

These are two additional tests from 2009 that we've been carrying internally since then. They were converted to use KUnit just like the vmstat variant.

---
 MAINTAINERS                 |    2 
 mm/Kconfig                  |   26 ++++++
 mm/Makefile                 |    2 
 mm/tests/page_alloc_kunit.c |  490 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 mm/tests/slab_kunit.c       |  614 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 1134 insertions(+)
#1 lore raw
Quoted 6 lines · David Rientjes

Follow-up to "mm: vmstat_kunit: add synthetic benchmark for mm stats" staged in mm-unstable.

These are two additional tests from 2009 that we've been carrying internally since then. They were converted to use KUnit just like the vmstat variant.

Please send series in a way that patches have in-reply-to the cover letter (git, b4 does it).

Is the slab one current? Christoph indicated in [1] he might have an evolved version?

[1] https://lore.kernel.org/all/[email protected]/

Quoted 7 lines
---
 MAINTAINERS                 |    2 
 mm/Kconfig                  |   26 ++++++
 mm/Makefile                 |    2 
 mm/tests/page_alloc_kunit.c |  490 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 mm/tests/slab_kunit.c       |  614 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 1134 insertions(+)