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=1796551505; b=PfH2vMdJTpwRibSeWUCo9JXXnXyl+3DDu0ax1bHH90d9bl/SVknbOe8n4VXFDjSv/NSu JkLKmoxuBB8rr1NfGAWQ5/0R7L6q4MkVQU+t5VlgzlTMe5SWOIBazuFgelJVB52wTRIEj P9VmP+DUiq+e0f9AkGwwkr633Bbxp1vfL3XPwzdUZ17JO0z1kKqT9p6806pVa2Iz41iOL IL20AElNKHhcriBWog2UrdhwldqCE81A2DXWK4mizfHD1lNuLIEC9Zj9vp4U3Nx9VWRfs /pjlwTrQHivyU9JTCES0veEwvfBRsEzoRTOKrjOhQ7WSJvhy9wCTItY4R4J2i9sMx5g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796551505; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=dZ1ZjRmgv0IKT2AdK/ue3OnJNeg9myZy48x6cOEGcOs=; b=x+OHyhUh2fjSjqUmReDDLvwG2V8X78vFo7LENdXv7jWmjljAXd/V0dGrGvfIduPhVi6J 3wDseI9cJ7Eeaf0Ot35ZzJllT8a7qM2Ix8donP/xhqFg1slTGImzWEOrMhBOtRsoaKpn1 xcm2WXQWrRfNkRO87WMhgS3cG70MF3o1IYltT/VduWOY+0GSxd/0uYD3SFle+QImxGu6D D2BsmM5zvEjh+fLntMl1bpX/Jorw+ZKR0BVghAw6cg8dKVHSsALdwRcefntWSlgwKm9GB VIvLVx7brPGPI0CvQN9hg60oLX5NuhvqMuBfPAtTxgsB2RhxoBIc2q0EMJjz0CA/1WA== 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=Xx7oapQF; 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 6F8F6606A31F for ; Sun, 6 Dec 2026 10:05:05 +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=Xx7oapQF Received: by smtp.kernel.org (Postfix) with ESMTPSA id D56721F0092B; Sun, 6 Dec 2026 10:05:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796551505; bh=dZ1ZjRmgv0IKT2AdK/ue3OnJNeg9myZy48x6cOEGcOs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Xx7oapQF+ANleY7LoCIQbuDwv0a9S+iEQFEdE6FfUi65jCTDkmdCP+dFUzefHQvpr HSpkpk14Lj9inMzrFwYxci5HLON3/mco1+RW3p8JSQVk9TDIZREsW76+qkWZj3Skpu TUTp9jwx5GcNKi1FS0Xot9m33axD6CfIMnrukzjqAgAzt9ynyG7L0I+HNnuO7kGFWJ TOcdlHSsP4eZqhJdcTcpgXuSjvvrqkz9UPe5Rv1KUU6GHQ3pgh85yyP8x1RRIyY2D2 LKtZ5YCzKpywO6qnodGKHh3lh5weJUAV9FsnNCct04/E+ddrjUIG953QkxVYEJhq98 g1CjmV+u3F4xQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/2] selftests/damon/wss_estimation: handle early access_memory exit Reply-To: sashiko-reviews@lists.linux.dev To: "Enze Li" , sj@kernel.org, shuah@kernel.org Cc: damon@lists.linux.dev, linux-mm@kvack.org In-Reply-To: <20261206095226.310682-2-lienze@kylinos.cn> References: <20261206095226.310682-1-lienze@kylinos.cn> <20261206095226.310682-2-lienze@kylinos.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 10:05:04 +0000 X-Mailing-List: damon@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] selftests/damon: missing Fixes trailer for wss_estimation IndexError fix -- commit d0d0ca2f5a38e98b65191a5b74fe1f5bad4f5ff2 Author: Enze Li > selftests/damon/wss_estimation: handle early access_memory exit > > If access_memory exits immediately, wss_collected is empty and the > percentile check at the end crashes with: > > IndexError: list index out of range > > Check proc.poll() after the loop and fail with the child's return code > instead. > > Signed-off-by: Enze Li [Severity: Low] This fixes an IndexError when access_memory exits before any samples are collected. Should this include a Fixes tag for the commit that added the test? Fixes: b5906f5f7359 ("selftests/damon: add a test for update_schemes_trie= d_regions sysfs command") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206095226.3106= 82-1-lienze@kylinos.cn?part=3D1