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=1796127855; b=kN6W9kNURdBBFmWNZ5DbJY2tLC/ZoUONYWQBZtR8E0PmgXZ9WpJYNojmpvuekOnqRhy5 F/9SSWUTD5AwHqaepkhz4cEZr8ls47qv5vh2e2DWCB/XlIKM19iFEiDirpa4IvbOwZvRq /qeBZZCE69g64UstL4YA8QF/qpWQRzIyv3w5k09vLs5ACfOZTQpr56EFOW29rqCztt5Mq 1ZhJcLZ4u2cTiJNZTE2GXP9D7mIpMVi2rfWwXjEM6hJA1YtzWg3WDZ6vgNLZxxZ0fMzPp Q//roMX0zT7cn0LTBy0QIX15fWUvM6mHOqikYAwEOCEhws+OeTlyerGyn0qGRyoW8zw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796127855; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=eIwYbT5ZnaQo1gGWlfJbmnTNF3ixWJRY5a8C5ej2DBs=; b=nKESY5EWfooMGFcBZeSSJrqwNS/zmgzidb0/N9QnOD/X+VXkBiIKHCD2MmpfyzLG2Yuo mX0TXH90cSlX84in6J5qF+lRFkW2s3qNqH+gS+oSc0FF6W0MgUUcHUKuPbsjet2+xrOhb CF1BneYQFGhaspTX5wkQ56z6DKKbwM5b/+CFgvVaFxYyRaUm8Jcj8xzw1u316eBDbYeli 7mxD7+TatfxSIlJFS1+AD3axnpa9mwHOmVMy7CzjmonoRbO1pZv8fRU52Ig5v4B1tyb4H Qypf7tNtIE7HZhhyJaNo3qQspng4JORiIj1fuAp5k9GpndgocwFYDOUaLF4bW2KjgdA== 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=YJVrFvch; 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 31F21606A331 for ; Tue, 1 Dec 2026 12:24:15 +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=YJVrFvch Received: by smtp.kernel.org (Postfix) with ESMTPSA id D420E1F0092F; Tue, 1 Dec 2026 12:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796127855; bh=eIwYbT5ZnaQo1gGWlfJbmnTNF3ixWJRY5a8C5ej2DBs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=YJVrFvchpoa8aj9i3nku9pT3rHdhRki/EpCxeptTs/AwMeB/j74SD/RysRQ8C6b5Q QwahJXQjDThH+jb7qGs0rNDhsGJTclZ6ht0KEt6Dtj9gqBCrfS5ghVqUQU6mpi1+xI +tluQjFsN959zL/od/i2P5C2f5OPnYW+udLLb6wAvztZ0YtrL3CXHCKcM6COD4J+8J nmbK8tLPHEZXPH+QbZUK5f67YtFXO/pDVx1V+vStYKP2cIBidF2wl/CuBSgJI1J66E ENCmUGOiz9sTbh1u4j8ux/bl/j5hPfQGwKG2OkKTBUB9CLnZZPPLXVL7RtSiQrWWXa w65mNdiPM8yYg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] perf bench mem: Add a populate-only mmap function Reply-To: sashiko-reviews@lists.linux.dev To: =?utf-8?b?UGllcnJlLUNsw6ltZW50IFRvc2k=?= Cc: linux-perf-users@vger.kernel.org In-Reply-To: <20261201-perf-populate-only-v1-1-5053b83e645c@google.com> References: <20261201-perf-populate-only-v1-1-5053b83e645c@google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 12:24:14 +0000 X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > Currently, 'populate' instructs the kernel to MAP_POPULATE the buffer. > However, it then executes the fault-in loop of 'demand'. With HugeTLB > (the initial motivation for introducing 'populate'), these accesses were > likely negligible but with 4KB pages over larger ranges (e.g. THP), they > stop being and add unnecessary noise to the timing. >=20 > Instead of changing 'populate', which would alter results of invocations > across perf upgrades, introduce a separate function behaving exactly > like 'populate' except that it skips the accesses. >=20 > Signed-off-by: Pierre-Cl=C3=A9ment Tosi Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-perf-popul= ate-only-v1-1-5053b83e645c@google.com?part=3D1