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=1795919291; b=JLi4sT7xWmfjVbZM118t0XFl0s/rFBcTTc3OslG4kJXmuF3fldfZJwi12c/WAM/1otYv Brp4TW4jsIIysDKafIH6aDK15c6fACpY9BG71p3r9rAsM7+/H+xWR8nH80pSWqaN6vZV6 C1ROzM00jJboM9iJHz3E3IcIAwTfgbcRa0umzdtY+spIxEEJ+C6Ko3/6i0+6YKPvKM7ns /xO8+Wcq72PjeqtodpEHCVxxfQMfX3IptOT3tWVcGAPxMf0eoClyeKS4ok6fd75WId36a iamoYloVHujd145NBkZ1Z8gN/sIIQ3JpWrtpOi6jdektf3nolUUOzr7aOx5I4Dlo8Zw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795919291; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=rP+xiQAwOfB9eVMxoS58Z1i9Jwm/25A0LrdeC8cZIA0=; b=KdaAuRivhv5Pvd6TRq9plpw6AOs5vPezx6F1TXb8JnXUEVodG7W9K5p1wuOVPQabtQpp FuLiKQPPFmL08wtvR0jUSKsUC5mPC9zm0Z+r29TI76L0EAnkR44v2NdLt2bNR8ea5NNPy GTS9FpZhpl5472NryEJEdMOFBZ9ZEpCyZ+okmTHWSGeOoofgtZcp7qF2Rz1f8kkGbzFnC hKk91Iay4z/pA1KzjErkkHQYokKyyd76mX4NYxB0hSEChmmcPKWVTpEV2C0haCE5Bnh5/ vEjjd6IzAln+Zs3AAqUU25kL5mVV2yw/wLUUOhk+qsIhXq7KkcCBfmqgwZEQPZrkETw== 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=daqxdtez; 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 15131606A31C; Sun, 29 Nov 2026 02:28:10 +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=daqxdtez Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C5DA1F00896; Sun, 29 Nov 2026 02:28:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795919290; bh=rP+xiQAwOfB9eVMxoS58Z1i9Jwm/25A0LrdeC8cZIA0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=daqxdtez+6nbs0B7rAc1JJnOGqqcaaNp1/rQ+C3+NFT/drxCKlGL20MYnEFbfBDT1 CuAYkaYiTZbRotpihGnScjn38Gb4+E/G/2+/tQUGFO9boN6v92BlfwzN7HfrwOZE6P 5ZqbwtTAKzrp90xlubIKWU9wHt0Qzilyyy54N/+JQp1qktaZLXG71MOrX65IrbKT59 i5uCUrKZgu8Lm9+S/0gSh9EfxERrsas3Mz2w0p8hGJN9znQ8divEkH1EDINzIiSUn2 YRUKEaciWlK+1gxxYru4LNy9XWMwz5BA6XFNLQBijSnWZ81YOsCJrOnZPDBUbt/fA3 mwN0YFXJtKlbQ== From: SJ Park To: Enze Li Cc: SJ Park , shuah@kernel.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Enze Li Subject: Re: [PATCH] selftests/damon/sysfs_memcg_path_leak: use common check_dependencies() Date: Sat, 28 Nov 2026 18:27:21 -0800 Message-ID: <20261129022757.169177-1-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261129020003.45921-1-enze.li@linux.dev> References: X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Sun, 29 Nov 2026 10:00:03 +0800 Enze Li wrote: > From: Enze Li > > The sysfs_memcg_path_leak test is the only DAMON selftest shell script > that does not source _common.sh. Instead it open-codes the root > permission check that check_dependencies() already provides. > > Source _common.sh and call check_dependencies() to drop the duplicate. Looks good to me, thank you for cleaning this up! > > Signed-off-by: Enze Li Reviewed-by: SJ Park This patch is applied to damon/next [1] tree. I will repost it soon (~1 week) as an mm.git merge request. So, no action from your side is needed for now. [1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees Thanks, SJ [...]