mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Vlastimil Babka (SUSE)" <vbabka@kernel.org>
To: David Rientjes <rientjes@google.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	David Hildenbrand <david@kernel.org>
Cc: 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>, Harry Yoo <harry@kernel.org>,
	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 13:09:00 +0100	[thread overview]
Message-ID: <a851bc6d-2ccb-474d-b37e-37f2a88a1e4d@kernel.org> (raw)
In-Reply-To: <20261129212551.1812084-1-rientjes@google.com>

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.
(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
> 


      parent reply	other threads:[~2026-12-02 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 21:25 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 ` Vlastimil Babka (SUSE) [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=a851bc6d-2ccb-474d-b37e-37f2a88a1e4d@kernel.org \
    --to=vbabka@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=harry@kernel.org \
    --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=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®