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=1796551418; b=BM7vhqmAfS/LS46NLUXHsVIJQLwdmFFGR4TUnGplFXzQvWO7bHj2DoEEhLKpKlN+u30J 49pmLzh+ErHwKD0v+8FRQX+eR6n7e3269R8bFItnPR7M4G2N7WuPGTfdOII7OYqe2adhB dH3nNthPvNYxPHbj3RbxDYGY+Lfj9OQOjWU8e4dTqhAxIcQrWqL++yj6kCz3Ykx+49jCV hy/f1mVi8fstt52SRUWdX4YlIOn5UigvlXnoi79d1X+toIzzyxP5qUOqnOfK3MraN0CZu hxBviFPzKzBQiaKSnrKXbr6FEZYEPUK0Cag85s4HuNNBWVFJveA4+e0EsQ6177tIpCA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796551418; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=cIISyS5nsNgBNs4eHsjJva8UH5pnh3AJuvECLRUeJHA=; b=ICqa5mR2O/athJjBBPua3Tcx4nwWW75YFWXs6PBoPJIaiC/8utJ069KObPq5TL9Qx70G s7AWxGlVyA8O2H5X+P0JwpRo/rBTXdfy+DIcWe+H2K4y8XtzrZYdlRDiEcRDoqVzUHTtd v00ym0Tmuzp3MOJRgVke91/c40jcZ793pGPj11cyOSCr4vfXjMlP0bfWUJFUnbyw2bCaD dkD3c1gqmRy7OH9AeTGLrs6ibjpnh72ATL0/RQcY2X77aEAQU7bPM84SYqBjP9Kv/d8w7 DIa0BsFWhBr2Jy8V10GzHzKjGjorskCERwNbylePudgk6lJBMyy1uL96IiXfIA8cryA== 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=Ii1w9Z7W; 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 F1776606A322 for ; Sun, 6 Dec 2026 10:03:37 +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=Ii1w9Z7W Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BD341F0092B; Sun, 6 Dec 2026 10:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796551417; bh=cIISyS5nsNgBNs4eHsjJva8UH5pnh3AJuvECLRUeJHA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Ii1w9Z7WYcRG6SYSmXSPbz1zhExTuORZPzjTGrWn43RapZ+jH65Ew/Wj6wp+53J1H zQBufE39XoYr6UsnTJD2CoChP7CVlLxzk45ACk/KeR6rfeOBxLpTNFQoHv5ytULoht 0T+CsIMDuOylcaQAxfweLt1uMnASmOM7Fw4riMD9UPD+2w2k1d4yw7ker1z3c+AqHd RtYe+53PpnPQOhXRxEq7sY+6lysE55GRQGoVpxt3tHnIWj8qCIhypPt3Z5+UUB9vMQ XLWmLH6i/9ywVyAujaaQttOLGOxb+w1dR4UeNU95XCK0wpZi8RuOLkGjzMzquh75Xd xLtgfbvSQ27IA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 2/2] selftests/damon/damos_apply_interval: 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-3-lienze@kylinos.cn> References: <20261206095226.310682-1-lienze@kylinos.cn> <20261206095226.310682-3-lienze@kylinos.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 10:03:37 +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 damos_apply_interval.py bug fix -- commit ba843c5ead980821fa4662a5fea5fce0c04f903e Author: Enze Li > selftests/damon/damos_apply_interval: handle early access_memory exit > > If access_memory exits before the first update_schemes_stats(), the > schemes' stats stay None and reading nr_tried at the end crashes with: > > AttributeError: 'NoneType' object has no attribute 'nr_tried' > > Check for that and fail with the child's return code instead. > > Signed-off-by: Enze Li [Severity: Low] This fixes a crash in damos_apply_interval.py when access_memory exits before the first stats update. Should this include: Fixes: ce7a2834659f ("selftests/damon: add a test for DAMOS apply interva= ls") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206095226.3106= 82-1-lienze@kylinos.cn?part=3D2