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=1796310510; b=m/Za46Po7c/EhBU19KNuW8wN8QnZM02Hc4ttBct8Q9R73HFMEW/Qj+jT2yuAib6VjvnK ccI4CoDbLNENZOeE0g4r1aPASUba/ke830iZMSvC2uwtVTlHnDLfjrCKHDdK9HycbsZDw CXfxFcHvL1fFq15wZOk4h3KQ+XERE4CvZamNSnDHjGgYf9bY2gOhx2qX6D01KnTj2XJ4v kqmr30a/4n9bLsibusKQylq1uJOa/LgRsuE+itE8u1cOFxpn7ydA6aK0YWoAPH8TzoXE9 ucTPEBzHAn/rcOpjttq6lgKy8hHjR2uZHt0G0vDKs73esOZF2EPsM/dSSJPMPX7547w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796310510; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=nvbq9Dn6OdwOnmRfdVZylALWCJQRLc/r0GiVR6g22+U=; b=EBKcTCnrmO60FVhADNYLEj+VxeKS5sldqznE71Z8s/HilZ4pzK9pe7IcFPy5eK0qixB/ NjwK/IqfaXNVNXbuRl0nqXrK9ld7A9obrGCmcelbs3NOeLLxrGKCxgU1r2imgVDWgB5mP BFT5j70293ySp2xFN4WyG8nPykGHoirT3wivEVTOEAwwY/1z2uIHQVFryy58K0/I8EJ6B s0+ZS0CGXtwsnLIvhJ8fnEmhfdjH0R/w/6YDoBlxnTznnOaSTZaR3h+uyQ+OInhrcdC4x rCdv+fk3kzIOm8CTwjgeIqPiiRP+RaUyab8A7kY9bfSWArSpBmbWBLuFIDr6OZyvOlQ== 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=kXYlhkKJ; 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 65E17606A332 for ; Thu, 3 Dec 2026 15:08:30 +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=kXYlhkKJ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2336F1F00899; Thu, 3 Dec 2026 15:08:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796310510; bh=nvbq9Dn6OdwOnmRfdVZylALWCJQRLc/r0GiVR6g22+U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kXYlhkKJ5UmEiYSAV9qmPc22PmIdJVa0yjDTz5hnAn1e79D1uzgw3QimY8WMXYwuf TcfRDRaoRie+wxV4n5L/8d9WQiE/PmrGYTRGrMH1mjq1h+PjTIPFf3ZFo5hwLj3Ie7 vkjcRglCS7bUo05lGPD/GYK3G3waPtIv37zz4XRxJBD1LLv3zLjgcz1qrK/6uOTNnd n66/yQht5CXCCGLn1hd3s68nd/mLdt9IjUrW4rGTBhcUebFLTNb1ib6/VWm7lgx93P CulmorMgWVZCqrjXRJYH/2kwP49qKtrn9qzLZxq5EzZVlnxygRCjefNgcLThBaoKOq Ks+KHJkw9PhbQ== From: SJ Park To: Andrew Morton Cc: SJ Park , damon@lists.linux.dev, linux-mm@kvack.org Subject: [PATCH v2 3/3] mm/damon/api: clarify node_eligible_mem_bp is access pattern-eligible Date: Thu, 3 Dec 2026 07:08:19 -0800 Message-ID: <20261203150821.730276-4-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261203150821.730276-1-sj@kernel.org> References: <20261203150821.730276-1-sj@kernel.org> X-Mailing-List: damon@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The node_eligible_mem_bp is for memory that is eligible by the damos_access_pattern. It doesn’t count DAMOS core filters. Its name and the kernel-doc comment are not quite clear about that. Update the kernel-doc to make it clearer. Signed-off-by: SJ Park --- include/linux/damon.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/damon.h b/include/linux/damon.h index 45c82f536da5..f60e696d69c5 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -149,8 +149,9 @@ enum damos_action { * @DAMOS_QUOTA_NODE_MEMCG_FREE_BP: MemFree ratio of a node for a cgroup. * @DAMOS_QUOTA_ACTIVE_MEM_BP: Active to total LRU memory ratio. * @DAMOS_QUOTA_INACTIVE_MEM_BP: Inactive to total LRU memory ratio. - * @DAMOS_QUOTA_NODE_ELIGIBLE_MEM_BP: Scheme-eligible memory ratio of a - * node in basis points (0-10000). + * @DAMOS_QUOTA_NODE_ELIGIBLE_MEM_BP: Scheme access pattern-eligible memory + * ratio of a node in basis points + * (0-10000). * @DAMOS_QUOTA_HUGEPAGE_MEM_BP: Huge page to total used memory ratio. */ enum damos_quota_goal_metric { -- 2.47.3