From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 316232931EB for ; Sat, 22 Aug 2026 00:56:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787360201; cv=none; b=FOx7Qi4PaR/Q0NN+zta01JCcVDGtFsA4BJjEoAHW18MACY9WR/OqV018AJ3DGSC1d5PNhHTm7OgzxtXeRsq5vWr9z1jT17cvY1Thn9juyHTM8n6uCmpO4DMgLINKyrLP561MTeXwMjAyAeQw/U9BG3C7josRAYNdi5vF260DWhQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787360201; c=relaxed/simple; bh=KKcEw0VjdSa+2+FZMdnpcDueQGPCim9nXLEJyrOWsEs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pujd3OvFtHrriKBVPgQjE9mqTQIkbetyBGpFSlxDRkfZ+VIXXdgU1+xMbyzlkFZKtCbuM3vE6gXVUrZcfk5dNypJ7VbzOEd3yn/zfJz5NbM+sj4wV/H+UsWOicjS6ka2uREYZLYUvbbJSpOtG/IJHpvXWEmbGQWTEozUrjyHlxw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KrM3OspJ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KrM3OspJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63CF61F000E9; Sat, 22 Aug 2026 00:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1787360199; bh=/CM62hP7TchKZsO7+LTwedoiijiDofWqPPiRie7LOcU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KrM3OspJT80oWxJ2/CHfmJaXWll/DExYK3VXNfe30uSv4AH7YR6mnFhOKJX1NBb43 pDtl9taL/bLR1pB22gErT87IRcmCgW+d4wI6RXMrtsg5xRMPkfwOySZ2PcTeGuhJtY TsawsQ0idlPnQkCv9MiAad/O2BAa54EQjeMpjuQGd81vHiDX5laLp0hfSoJJERu1mO KY3WDiygTJvZCHe4U9F98qtZhaNAOER3HxLw556ZKSWilYwwm5GKU0se0NXjdAN7yL 5gYDD2m85lGpXblBZaxzZlLYMW8oQS/zFtZYLRO8bQCuzVnGUZ1KHF8khBbgkGdsL8 DXh8jQjHXGjiA== From: SJ Park To: David Rientjes Cc: SJ Park , Andrew Morton , David Hildenbrand , Christoph Lameter , Vlastimil Babka , Mathieu Desnoyers , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [patch v2] lib: test_vmstat: add synthetic benchmark for vm stats Date: Fri, 21 Aug 2026 17:56:31 -0700 Message-ID: <20260822005632.88673-1-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <6136773e-b134-070e-36fe-2951aa25b5fe@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Fri, 21 Aug 2026 16:52:17 -0700 (PDT) David Rientjes wrote: > On Fri, 7 Aug 2026, David Rientjes wrote: > > > On Sun, 2 Aug 2026, David Rientjes wrote: > > > > > From: Christoph Lameter > > > > > > Add a synthetic benchmark that can be used to measure performance of VM > > > statistics. This is used to analyze any improvements or regressions in > > > functions that are frequently used in hot code paths. > > > > > > The test is run by inserting the module: modprobe test_vmstat > > > The module insertion will always fail so that it is automatically > > > unloaded; the results are in the kernel log. > > > > > > Signed-off-by: Christoph Lameter > > > Signed-off-by: David Rientjes > > > --- > > > v2: > > > - added bash wrapper to ksft per David > > > - integrated into ksft > > > - added MAINTAINERS entry per David > > > - fixed alloc_page() error code per Usama > > > > > > Adding single test for now to solicit feedback before updating the other > > > two. > > > > > > > Any feedback for this one? If this one looks good then I can also apply > > the same treatment for test_pagealloc and test_slab. > > > > Andrew, David, any thoughts on whether this one is acceptable for merge? > If this looks structually correct and is staged for inclusion, then I'll > do the same treatment to the other two proposed tests as well. FWIW, I found a similar high level topics including whether performance tests should be in the tree, and where tests should be added, are being discussed on another thread [1]. [1] https://lore.kernel.org/aogrd9knfBUGH885@gremlin Thanks, SJ [...]