From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.199 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795987554; b=x6NdV+qiWU5cqyWhnPMsRTqR+ENLgQVoE6x1jOIFYPEYW58/B0nRNdOTRnCOE/lNaXdY bY7466CubkdyGw2MpI6MvpPuhIMpgmkEki0cAkh7KpuPwEtKr8/3slNk4hQk67aGlB3V4 2/B5QZUQC8xVzVTPoYQCmAX3eR845lxHftz0j/DW48J4D3u+YE/i4lLYWfp7pUJkPCZIh NJXLrFAPRVes6xpPwS9ZHkO9rqqD4pkJDHg+lzm1fKCKUW0h2rJjD18CyDIF3F3NBPp9v 0fYrfVmXWaxn0m6P/SO2muWOgYPgEuZyec/DK0rizT6C+j908Vvwu7513sACyYjpnOQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795987554; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:Mime-Version: X-Mailer:Message-ID:Subject:From:To:Cc:Content-Type; bh=HeIngroGT7KJQl1IJ6Hy1iIfXfJlc1/EomOVWe69EvQ=; b=GWaN9ho1sZK6QNjaGvp7Z6SAFzn1dXtIew4Bfpcq2gf6QFuz+XUoobdkbnpzqd30XJLb 0rh1goBA+IJwqeZffsyWbn0bZ/Ft/qXp97cdQIt2Qd1VIULPrbVfYCvZFAlwio6XRiQ8Z negOhoc/WeP0hJaNrBcQSKzsnlCUOZGSG5r1lPA0cLaWy7VYRaVO7B/AyJwrBxR2kjy3f 2k+FCORRs+RIl1HWyo6+X0fjufjKrjq/S8Y+JagWY7k/qe1D2E6Jj+lwqOi7xqsC/sP2h KZ4e8s7P8fHS/HcEDs2BpBAW+bnxIm8DgN9hK77r7PFfyOmSwQ8BMUAzLTWcWriQWyA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--rientjes.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=mRwjVEAx; arc=none smtp.remote-ip=209.85.214.199 Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BD1C606A31C for ; Sun, 29 Nov 2026 21:25:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7BD1C606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--rientjes.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=mRwjVEAx Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2f045e399acso87480765ad.2 for ; Sun, 29 Nov 2026 13:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1795987554; x=1796592354; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:mime-version:date:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HeIngroGT7KJQl1IJ6Hy1iIfXfJlc1/EomOVWe69EvQ=; b=mRwjVEAxjvApLckC0R5a80ypqH4zfH9zzpQ4JapPnue2cU2LCKSobsMhsy+IBXecHv uazAZoRwKKMGT+mRDbxELOeVCtA9hCc+mWY6P8YXhUHtkMszkOKMUSaWjNjohFHZ0/qg Ya5E9soBEc/TlhwMASEDiliqIRFCZ246be0wTwM+kYxLt4LBmepnTfvA9CZtCOCfcGry po5xm1ccG6mFZ4pOy8quQVwwPzttirZAKC3dWtr2v91J8FQ6tDrjYVw28aK9aedCQj1x u1RBga33GrZ0/yJ8pjt8+2HVfC/stVJF21F1IKOpZEtSs34G0/AhZHIP1yXDb/3Nsddm xYzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795987554; x=1796592354; h=content-type:cc:to:from:subject:message-id:mime-version:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=HeIngroGT7KJQl1IJ6Hy1iIfXfJlc1/EomOVWe69EvQ=; b=px/HqRhEEid25ahGxMCCfzRJ6z1xNRpVxG5gG98K087htO+hP5ZRNR/UMPpMp7/nSa 64VSm++LFDQBq4+8YU39yMe88iwG0aBtmU/X/DLr5vL9TqWM//r/qVY3pYCIE5gv5QuY coIQiHOuDtIzy2Bk6u1n+UxxWZu/luyFqG581CG9RTREqsy1c6q/zsLZBYatHL0PjNnp QpMhGpt3g1mt89dinPHpXtBRTIpjtHUQR/cIXEetQuBG4V0g+R1AODCqcNjBhswg2q9J P450K5mlxphxR9VzeVsdJf3veoj6bHuFhxbE6n5jFiH/9kYC2M1nKatjnY6Wxp5woqup X8pg== X-Forwarded-Encrypted: i=1; AL+hErHpmXkj5K0AkOmbh+BznhuZddv1qWDFhIuvX4sBS+mQryx+mqwh/uKpYf8lBNYNupy1bzwzXO8qztQLP9A=@vger.kernel.org X-Gm-Message-State: APuU4Z+lGwgldZQc2ollX3UA42TQGK9bJu/VEOUaIis88VORYUlSoD3J g8s9C/059mLhrTP1PZ4mV9Bg0XMXPC6TlfbGcXN8ILXINMZ9lzJ67zvHMFkkVCc/HLxCY2Qilw4 njvPBMrNYKI2G8Q== X-Received: from plrd18.prod.google.com ([2002:a17:902:aa92:b0:2eb:50b1:b505]) (user=rientjes job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:e551:b0:2d7:107c:917b with SMTP id d9443c01a7336-2f03ee6f09dmr352687735ad.0.1795987553491; Sun, 29 Nov 2026 13:25:53 -0800 (PST) Date: Sun, 29 Nov 2026 13:25:49 -0800 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 X-Mailer: git-send-email 2.56.1.839.g22a8290db9-goog Message-ID: <20261129212551.1812084-1-rientjes@google.com> Subject: [patch v2 0/2] mm: kunit: complete the 2009 mm test suite trifecta From: David Rientjes To: Andrew Morton , David Hildenbrand , Vlastimil Babka Cc: Christoph Lameter , Mathieu Desnoyers , Sarthak Sharma , Johannes Weiner , Suren Baghdasaryan , Brendan Jackman , Zi Yan , Harry Yoo , Hao Li , Roman Gushchin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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 ++++++++++++++++++++++++++++++++++++ 5 files changed, 1134 insertions(+) create mode 100644 mm/tests/page_alloc_kunit.c create mode 100644 mm/tests/slab_kunit.c -- 2.56.1.839.g22a8290db9-goog