From: Harry Yoo <harry@kernel.org>
To: "Vlastimil Babka (SUSE)" <vbabka@kernel.org>
Cc: David Rientjes <rientjes@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
David Hildenbrand <david@kernel.org>,
Christoph Lameter <cl@gentwo.org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Sarthak Sharma <sarthak.sharma@arm.com>,
Johannes Weiner <hannes@cmpxchg.org>,
Suren Baghdasaryan <surenb@google.com>,
Brendan Jackman <brendan.jackman@linux.dev>,
Zi Yan <ziy@nvidia.com>, Hao Li <hao.li@linux.dev>,
Roman Gushchin <roman.gushchin@linux.dev>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [patch v2 0/2] mm: kunit: complete the 2009 mm test suite trifecta
Date: Wed, 2 Dec 2026 14:38:10 +0000 [thread overview]
Message-ID: <axAtIMhdt9idAwA1@thinkstation> (raw)
In-Reply-To: <a851bc6d-2ccb-474d-b37e-37f2a88a1e4d@kernel.org>
On Wed, Dec 02, 2026 at 01:09:00PM +0100, Vlastimil Babka (SUSE) wrote:
> On 11/29/26 22:25, David Rientjes wrote:
> > 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.
> >
> > Christoph Lameter (2):
> > mm: page_alloc_kunit: add synthetic benchmark for the page allocator
> > mm: slab_kunit: add synthetic benchmark for the slab allocator
> >
> > MAINTAINERS | 2 +
> > mm/Kconfig | 26 ++
> > mm/Makefile | 2 +
> > mm/tests/page_alloc_kunit.c | 490 ++++++++++++++++++++++++++++
> > mm/tests/slab_kunit.c | 614 ++++++++++++++++++++++++++++++++++++
>
> At least for slab we already have lib/tests/slub_kunit.c for functional tests.
> I agree that mm/tests/ is a better placement thank lib/tests/
> But in the end you'd modprobe slub_kunit or slab_kunit, which is not a great
> way to distinguish those.
> Could we call it just slab_bench.c? The "kunit" in filename doesn't seem
> mandatory.
+1
... I had a similiar impression but swallowed it :)
> (analogically for page_alloc while we're there)
>
> > 5 files changed, 1134 insertions(+)
> > create mode 100644 mm/tests/page_alloc_kunit.c
> > create mode 100644 mm/tests/slab_kunit.c
> >
>
--
Cheers,
Harry / Hyeonggon
prev parent reply other threads:[~2026-12-02 14:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 21:25 [patch v2 0/2] mm: kunit: complete the 2009 mm test suite trifecta David Rientjes
2026-11-29 21:25 ` [patch v2 1/2] mm: page_alloc_kunit: add synthetic benchmark for the page allocator David Rientjes
2026-12-02 9:37 ` Vlastimil Babka (SUSE)
2026-11-29 21:25 ` [patch v2 2/2] mm: slab_kunit: add synthetic benchmark for the slab allocator David Rientjes
2026-12-02 12:11 ` Vlastimil Babka (SUSE)
2026-12-02 12:09 ` [patch v2 0/2] mm: kunit: complete the 2009 mm test suite trifecta Vlastimil Babka (SUSE)
2026-12-02 14:38 ` Harry Yoo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axAtIMhdt9idAwA1@thinkstation \
--to=harry@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=brendan.jackman@linux.dev \
--cc=cl@gentwo.org \
--cc=david@kernel.org \
--cc=hannes@cmpxchg.org \
--cc=hao.li@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=rientjes@google.com \
--cc=roman.gushchin@linux.dev \
--cc=sarthak.sharma@arm.com \
--cc=surenb@google.com \
--cc=vbabka@kernel.org \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.