From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E182F3D6465; Sun, 26 Jul 2026 17:39:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785087587; cv=none; b=klu5H7s2HImmMX/juZO64HsW1T2cn38WoZZrlzIwc+zKHUVxSMEQ3pHgfdSnhhAifM+a+GIXq4WnHoYzfYKGUfDqmmMtj8nIDPntPNmVL1DlCdTuWxVojwY5QPBwx53E/4PmsFckQKVnUue3KmW9Y0D5AqiUdOVUNiO6L+4gVQM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785087587; c=relaxed/simple; bh=BoQmFAANRs5ejoJBSDr2ocPVWNj8V5kOrKo+q+5Og7I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E47p+rn7OG6QGRJnbtekra3AN4DNEq5SsolHWRQSyH52kox7/MRcLxN+Xk2GM2QjWzXCyVE0T2GjrwQ9pneMgZCGIyUDafNV4swrp7PPtism2azzF9lF2oQi7JmXU54nTuZDYM2IvIRSliVVHaJMeR9rKhoCqmC5Ld+ZRFPSpZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LQiLs0wm; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LQiLs0wm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 459DC1F00A3D; Sun, 26 Jul 2026 17:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785087585; bh=Qlh6y9Au18vR1Ou/T5ICe3OGlXl5Nc84fCTR2Y+rZXM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LQiLs0wmIOlexd/iMGo03bhcgs5alZs9lgcjLpw0/DXSeCRntJkZlkj/Tt3EaCYcl mXwfhQOsZHWXZIK+KMLuMgXobtj3xSAVUr3ovN6Efp1lGnT0Az1vLCd0zXPsNhVo37 Y9W8wcj75jQ+Tle4Ktq5n7P2kv6NymVARmBiiIcw6dY8sJRGXzyKr4oqtmOq+WXdYv MNqMkpqhaDCAgIOU1f7OAFLUOzeOiNPG8P6PU9G3KFiMf5d64TJEpv2BAQXuUNDby7 IO2pMSPwKiyspJINKE9EGrjbo9excDbHMEgRzFqioUuC5lrtF9vh3Eukw0aZysfO3o eapDe+XNU7rJA== From: SJ Park To: Cc: SJ Park , "Liam R. Howlett" , Andrew Morton , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Shuah Khan , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [RFC PATCH v2 04/17] Docs/mm/damon/design: document pgidle_unset probe filter type Date: Sun, 26 Jul 2026 10:39:20 -0700 Message-ID: <20260726173935.94046-5-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260726173935.94046-1-sj@kernel.org> References: <20260726173935.94046-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Update DAMON design document for the newly added pgidle_unset probe filter type. Also use a list for the types, as it becomes not very easy to read the whole types in a simple sentence. Signed-off-by: SJ Park --- Documentation/mm/damon/design.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst index a8c163475ef2b..c4830bd09498d 100644 --- a/Documentation/mm/damon/design.rst +++ b/Documentation/mm/damon/design.rst @@ -293,8 +293,12 @@ registration is made by specifying a probe per attribute. Each of the probe specifies a rule to determine if a given memory region has the related attribute. The rule is constructed with multiple filters. The filters work same to :ref:`DAMOS filters ` except the supported -filter types. Currently only ``anon`` and ``memcg`` filter types are supported -for data attributes monitoring. +filter types. Currently below filter types are supported. + +- ``anon``: Same to that for DAMOS filters. +- ``memcg``: Same to that for DAMOS filters. +- ``pgidle_unset``: Matches if the page for the memory is marked as not + access-idle. If such probes are registered, DAMON executes the probes for each region's sampling memory when it does the access :ref:`sampling -- 2.47.3