From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796222292; b=b+Y+N1JHBhA1TjHBbKcJJ+PnfGCCAydDp3qKXpxSHhgBU/xGQDmTtGnwmTQwWfqdZB36 1c1DrBaI8XU8hICGDO0s5pLq494iOgOrjr/AnZ9hnzwgXQrZtryvu4Jv+WafxTn9lzobm XLfcySASv28oJNJAvkEoBJ5nHqukq8ADlTGdvGIz3eCvLhdGtL/DG41OlmNPQhd9wxhc0 d2vf5Ia+ATB8+6OiyXAI0RVeVLz7T22MiAnIWkV+S3VD1tq/hG6j4aksxFDKVai19PCHw g1R0b6oCnG5yk7bJOx4/AV3jaA0KMKEtVG9ksVYeutvaSoomlTtcAfoDpdv2Eq3UFvQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796222292; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=+uIwE3g74Onqrai3ileYGGNIGyZAhhjualJYWF6aD4Q=; b=2O6YsrebCxzBcOBN7zM3tGZEJJWQxFHT32LLrp/7IJykEXV0Cwk8Ji6h5buLm8+DhvAN 2ChiIDwNEDAmJR18dXV3J697K/o4ycSbBXiLzojdEjge2nF6ezpJgPwQF2LnGNvkLcwWt lDWrtq9jHJGFCaHW5EXKBvPBEfG/R4+lOXX2Abmow5AtroEtEBvQrMEK+Fzo6ZE75G7eK eIYpwr/i69agd29zR+B0Jbe26fT6UDqJwppRk+FrmqZKU0CKE3NDUsYN03oHBFTh6u5KZ To2ILMhmBXL+18s6Nn1taHZyWR07+gpf7G2aomPCUVZbBuim+cPKg6qEIGiig1DrtaA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=G8tZ+zpl; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A43D2606A31A for ; Wed, 2 Dec 2026 14:38:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=G8tZ+zpl Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C2551F00897; Wed, 2 Dec 2026 14:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796222292; bh=+uIwE3g74Onqrai3ileYGGNIGyZAhhjualJYWF6aD4Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=G8tZ+zplW5l8ivyRDrwfdIAfyXtOT0vCjvqXwf4vuw87DnGRiIukZodIouIA4dRKN 46rFpBFrhxWAtduudVKbPpflDSuHiEDc8ZadgnvfCVfpI9uLHJx/o2RPukwjGwTwVa LfyTNbf12xu/SsOb+Z3q9AMn8tCzTpC2VakGyjMJhJQ6mzeSaE+uLJjjYFmUr4IFZo +VUmgvrdA8JLb2l6FC6sFGCt6Q8KR+x/g5vCFaEKyoDrBN+8gjvxlX77rTS2KnBrGY xIBQEYL4lHpkHfXtYA4ATgx99HdDh0B5h75qUuMlZmO0D8kLei6rGKASsgtIAPjdF5 cI9oFpQQkou8g== Date: Wed, 2 Dec 2026 14:38:10 +0000 From: Harry Yoo To: "Vlastimil Babka (SUSE)" Cc: David Rientjes , Andrew Morton , David Hildenbrand , Christoph Lameter , Mathieu Desnoyers , Sarthak Sharma , Johannes Weiner , Suren Baghdasaryan , Brendan Jackman , Zi Yan , Hao Li , Roman Gushchin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [patch v2 0/2] mm: kunit: complete the 2009 mm test suite trifecta Message-ID: References: <20261129212551.1812084-1-rientjes@google.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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