From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A4610321F2A; Mon, 8 Dec 2025 06:30:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765175437; cv=none; b=Z0dlq5M5OGqPrL57TYmvqd6kXFyTzOr7X63EbCuzuO3w1j0slGn/ZPqO9f9+Wt5i5ov3KXZ+ll3e+7esOfrWeGxSrDam0Pz9z/5jmqTZc+YNCJD9xwc8aUwXONtPMLdCU8Vu+84pvzuEVaCxmPgpCWOS2pwS+cJJzNNEvg3RNb8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765175437; c=relaxed/simple; bh=WF46eHAg8BpA3rOP5vwAEQ9EqpTxFbiwB2Pt34pRHm0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FyL5bb+FrgR9ZT+bw6viMPaKP6gZWbzuBmkhCZ2qTbpF7CN7huctAtPAYcJdWhg57g6p28WBA/bcaoYBuJbKCxI5HW5iy5+0OD8GQjnU/lZ9lmwxr0O9/aZnXvg+x9xmfKftSaYn7f0g0lkMxwe5FsumAI9GVQSbrhA0g/nKdvk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Jsk9EEcx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Jsk9EEcx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D995C116B1; Mon, 8 Dec 2025 06:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765175437; bh=WF46eHAg8BpA3rOP5vwAEQ9EqpTxFbiwB2Pt34pRHm0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jsk9EEcx6sGR5L8QC3E5ZPFlTYVH7w3ajlnyRF2mk3nO70OXa5HGMeDiJOa8U7WKl pDeyuojSH9d/a7o02+VSAA1ssDTcxb5vDP/G+0kGZ4Imtc4uXqcHGkA2LCUn1RLXXK O+EQeptMA4tPgTn0TUp4I/IhVqa+WuFSiaDwYYMEqHVD/qiVSkmqteUAmsea+vTfPF XGVJYD79SAGRPkRl577nudDk15TT+WdhgNll1DtOmNCEjPbi6vgFE4uK1nxbYt8lPT UCrkhMX4EvzImtlCI202A8nCfdZnIJwUVfC6NGBwSEni/eBy1S52FZiOOkypPUEmxp QpbiymgYVVWVw== From: SeongJae Park To: Cc: SeongJae Park , "Liam R. Howlett" , Andrew Morton , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , 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 v3 31/37] Docs/mm/damon/design: document threads type sample filter Date: Sun, 7 Dec 2025 22:29:35 -0800 Message-ID: <20251208062943.68824-32-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251208062943.68824-1-sj@kernel.org> References: <20251208062943.68824-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Update DAMON design document for threads type access sample results filtering. Signed-off-by: SeongJae Park --- Documentation/mm/damon/design.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst index 9a4679de437f..4c6d83263a7b 100644 --- a/Documentation/mm/damon/design.rst +++ b/Documentation/mm/damon/design.rst @@ -148,7 +148,7 @@ the page protection in a way similar to that of NUMA balancing hinting faults. Then the page fault handler reports the faults happend by the installed page protection to DAMON core layer. Compared to the accessed-bit based one, this approach gives more information to DAMON, such as the access-generated -CPU. +CPU/threads. ``paddr`` uses :ref:`accessed-bit based check ` by default, and users can change @@ -314,6 +314,9 @@ Below ``type`` of access sampling results filter are currently supported. - cpumask - Whether the sampled access was generated by a cpu that included in a given cpumask. +- threads + - Whether the sampled access was generated by a thread that having a thread + (task) id that exist in a given array of ids. .. _damon_design_age_tracking: -- 2.47.3