From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE8E43C4574 for ; Fri, 21 Aug 2026 23:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787356341; cv=none; b=Zos3Ij0dssCc4sjb6ciF2G3fqaF0rTMxf+sm+8uESIYcEtd8uqmSHpYausgNvvhCyOPCEtkfZMyJiseLka7kU0fCc/6BVOkSzDhJIqtkkY8UrpSA28ZUuYpQ1aBnV6yOEgKN8aQnr8aYe+Ky+y8CzO9/6IxccuHQ5OFAj/nWJnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787356341; c=relaxed/simple; bh=CqKXfnw7/sesXc23VHlMwk9MSCmdlgWnasYvyNvvTNA=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=AREof6Gz03nccEgeGGlmZIsj7OKI3GiEG4aeOc2CyWyWeNXaAnDcRCMAox4KB/TfzCGzX11Zjt5GSakJ2GUrUwV8jDC1rw/04FTQHYe3X0nPUq0lt3fGBZTOb10qAiclZERQSmu52vG7nuWjzIGmSywxVuv7KJnvrJOpOHzlLvA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=IRovOa9i; arc=none smtp.client-ip=209.85.214.175 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=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="IRovOa9i" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2ccdf36f63dso47205ad.0 for ; Fri, 21 Aug 2026 16:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1787356339; x=1787961139; darn=vger.kernel.org; h=content-type:mime-version:references:message-id:in-reply-to:subject :cc:to:from:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Hx4IpslJR1nyShq4nZXKEM9oGTMsr6c7ZmaRFKL18Jw=; b=IRovOa9ixrQXtUPBkvgqQ/1M6+c11LaHwjghS/Zh95RxgF8jeeavMCepH/GWak0C4L DCyzwa2nWFtDYOPsJ28GLiLnJ0UAWOyz6arHE9vgfsdLvJk1hDfubJEv3nknzHbw59lY xCc38kY/OXNFY5hYz3zIX4ugqVi+JzsoQluWbFW6IVbkchHaParr80Do231iXvf7k0c2 NBMZ8k0ih34aGvrmNZmufFy0hB0kZvYVmf0j9qYw6wmR8Bi0ws3BTkLNwqWroF3qnRY8 jCngG4Xyub1zOlaJGNW25BCKak3L34BCkk+qXT3Ts8w4ZXvLhEmryXBs1ZWbP3Z8o8gI g1/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787356339; x=1787961139; h=content-type:mime-version:references:message-id:in-reply-to:subject :cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Hx4IpslJR1nyShq4nZXKEM9oGTMsr6c7ZmaRFKL18Jw=; b=O12ZWoMcpapTi1oFnDC2KZCHbXpkzOtd4lwlZuCmGkwL1scbx282MK9Fh099HmkALc 9xsJHY6fxB+GnrUGUBlN5+2eHNzLvErrpaU2MZtsfMvdP/3fjQQvZbj8bY+/ifd3clLN Fb+6to2+AAhrepa+9AziY8f4+842L+DcbBVF4Kdhx4K3/dBgbgvlFsFyh119KZ4lUXR6 UsCnJPYiNT3Rv2wYoUuyZkpZng2geWWbsWkRA2MvdUxbA603EfY24x55cC6+fYW02Edz 6A0mDIPkHAJOmRjlEz4EJWfhzdcbkWFjhzqhckhNjIlWVBgerzWQ37hA2gn+lfW7W9S/ GJcA== X-Forwarded-Encrypted: i=1; AHgh+RoWJ2XK15Xwii3fhgAPZQDy72abjH7QShhwbSb4l3mFNyu/TyYKoUfnL/VjQDLINeE5quFMBCMz7IurLmQ=@vger.kernel.org X-Gm-Message-State: AFuF++lyn1ad40UAeWBiQylm3gVfvwaj+H2zfAOlpoQcsU2GbNkqABJB zSb3vApgWtYevYrw50Pk0O73viN2X7yj+PsZ+H6MkrDC2hfTONh3p2I05+f3taeHK63fyWcRiyV NO5p9X5Pi X-Gm-Gg: AR+sD109n+ApT/gci5VhXSjnOqc9ftLVGRIzHYgRq3GGV0XrZDHLs+heA99AKvMXnNw ItfRF+ukg/vJoECjCSVpmmXxt4Y3Jlt8PQxsWpQp9WHNmXUO5Rzr6KcZmVcpTN51lLKr6AcYWH+ SsoByMgHfEQiPHquA2B1IG1vrpJT6CWKF7fzgt84F9cuJ2SaiAVcXNJj8EFEMH5n6eZnLNt8aOm B11PiD4h468D8ax4yoj+sUeRgaalYD61kZ8hXfWT6e+dOzskaayXzhB/GCVyE+n5i4Qcohl5klr QQR6H2wivpavyEeJzZyGzXrAYehvIlBsedcCMzKcVq2B55pjI2PIlUXro6qtCQ1TMfEbcZ0qsNh hXqBBqL39fbDmKf2W/c3JrnFtfGQVr8zXktz4hHdOIyuOMAjDFcLD/l0sHFgml8Ac6OnRgl1QoZ l+w57o03vMfA22EWI/VDJBoYhpbbt36dd5m6gxKF6IXKnV6Q5W/mY+411qGj1nKm5o4XsIwZN4w Tm0VkB4UmAyqLKBnKXoVbfOpxg9+B7S3z/9NsQO8KeIf/h+KAqhnedyz+o6gdZal5NOz/rrxmRv uzu1aQd1tuTvncs= X-Received: by 2002:a17:902:f54f:b0:2ca:6bf:5bac with SMTP id d9443c01a7336-2d66ffc7a41mr2536365ad.8.1787356338595; Fri, 21 Aug 2026 16:52:18 -0700 (PDT) Received: from [2a00:79e0:2eb4:9:d847:d4f1:6e98:4c60] ([2a00:79e0:2eb4:9:d847:d4f1:6e98:4c60]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-395e49b4094sm681017a91.5.2026.08.21.16.52.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 16:52:17 -0700 (PDT) Date: Fri, 21 Aug 2026 16:52:17 -0700 (PDT) From: David Rientjes To: Andrew Morton , David Hildenbrand , Christoph Lameter cc: 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 In-Reply-To: Message-ID: <6136773e-b134-070e-36fe-2951aa25b5fe@google.com> References: <94068447-f9c5-ba84-73be-bf492277b9b3@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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. Thanks!