mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: "Vlastimil Babka (SUSE)" <vbabka@kernel.org>
Cc: 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>,  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: Sat, 5 Dec 2026 17:57:25 -0800 (PST)	[thread overview]
Message-ID: <114556d4-d622-b217-f572-32723b0e0f07@google.com> (raw)
In-Reply-To: <a851bc6d-2ccb-474d-b37e-37f2a88a1e4d@kernel.org>

On Wed, 2 Dec 2026, Vlastimil Babka (SUSE) 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.

Ack, agreed.

> Could we call it just slab_bench.c? The "kunit" in filename doesn't seem
> mandatory.
> (analogically for page_alloc while we're there)
> 

Sounds good, will do!

      parent reply	other threads:[~2026-12-06  1:57 UTC|newest]

Thread overview: 10+ 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-12-06  2:03     ` David Rientjes
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-06  2:06     ` David Rientjes
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
2026-12-06  1:57   ` David Rientjes [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=114556d4-d622-b217-f572-32723b0e0f07@google.com \
    --to=rientjes@google.com \
    --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=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 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®