From nobody Fri Dec 19 13:31:37 2025 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 AB626322B95; Mon, 8 Dec 2025 06:30:48 +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=1765175448; cv=none; b=QGKUpTht96s/RdxnA4wbywIulxBNgCGXFFuvwva7ie03/MTop2ODGaIQTR6hxVFJMVOPuRDjLV3Z+bE06rdSqJgppxqKAkOkU5F1/hNvbmUCLhY4na2e1IOpfzCFoAINoUQxwlJVxgbON0JuDAD79okCx36ql2zIHcq+95bIXy4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765175448; c=relaxed/simple; bh=7LPwC6Tdvp2/F8X1UVIxGeo9+bnDQ2Da295YW1KdEhA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Xgr/j0OxeOQpDi3v/q9Ys0Jt5B6AM9uhDOy9c6ph1SrEGVrbMXVEjCFPwzh9e43jmzea7h2ufdlYBJOAI8YrhxWVuxPJDsuhqNkwQUW0F0MIDrwS13QHaNMwNgRDwnjLcNBSk+sE1woX0NMr61Tc7ClgRMWVhA/nPTQQqvQrUNw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MiIlJ+UI; 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="MiIlJ+UI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F421C116B1; Mon, 8 Dec 2025 06:30:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765175447; bh=7LPwC6Tdvp2/F8X1UVIxGeo9+bnDQ2Da295YW1KdEhA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MiIlJ+UIhaWDtXpVtWGyfXhcGkfyDG2je19PMonZ1FJur8CzHYiCsCW7W+Xz/Cs7X f0ApIzkuEp6CBnrLykZlYX1TO6xtB0Q2qb02e8WQP+kCSn5RPcThXAWAriKYeu+VEM hnWYsawXlfplP9ofPhSyiuOVPeVEEwnWGWPe1Hg54CxxzOOAxTRsA56PE/AUlObxjI 30MyNHFDj3mBswCevCm36eEGQA7rmEDvN4GP28hORUJDMs9ltF+lvxGtPiDAVSPtq2 6Q+fMHbT1daCzHKPwvNtSOZTSeBHpyUEzIKZmpUh2wKwFU+IAW1LW4jwd1r9nLW9db rLZwHbnPPr+EA== 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 37/37] Docs/mm/damon/design: document write access sample filter type Date: Sun, 7 Dec 2025 22:29:41 -0800 Message-ID: <20251208062943.68824-38-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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update DAMON design document for the write access sample results filtering. Signed-off-by: SeongJae Park --- Documentation/mm/damon/design.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/des= ign.rst index 4c6d83263a7b..b194bf4a6519 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 ba= lancing hinting faults. Then the page fault handler reports the faults happend by the installed pa= ge protection to DAMON core layer. Compared to the accessed-bit based one, t= his approach gives more information to DAMON, such as the access-generated -CPU/threads. +CPU/threads and whether it was for writing or reading. =20 ``paddr`` uses :ref:`accessed-bit based check ` by default, and users can ch= ange @@ -317,6 +317,8 @@ Below ``type`` of access sampling results filter are cu= rrently supported. - threads - Whether the sampled access was generated by a thread that having a t= hread (task) id that exist in a given array of ids. +- write + - Whether the sampled access was for writing. =20 =20 .. _damon_design_age_tracking: --=20 2.47.3