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 997892BFC60 for ; Tue, 16 Dec 2025 18:58:09 +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=1765911489; cv=none; b=MZxMqocfKPfn375sotjJ3aumpjbqHg7DpHrD7OQwUILdu6UzNuOrUMD3b8dld+QIJed4/FIyqHdo/JtNigQMGez5Jg/vlpjoAXGFC6wEvq8SWOccXV3Zr7kHC9rD1PYeXluYfQyOhA+53bU2Auz1y9S/UBBtUtYUicsaLYs9dII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765911489; c=relaxed/simple; bh=fmSWN2pq0WZsJLWhbNz0r/XFZMN+8R0obUNiJMXdW8k=; h=Date:To:From:Subject:Message-Id; b=K7DhOsHjRS4eUje3gdkUtmwn4QOxWQetZE8f8MfWj26JSihQVmvWytULk2EWglhtp8A6IB3jzX7Xem+xP1V67CRnqeecdQOZmkLQqeLSdubdTO5aKgKZKJMrxfx7M2NKAfwrW2GNz5a7jwDSDsxwm9ATZlrQ/ch7RMxHz6s8dH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=sRRmHxSm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="sRRmHxSm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00111C4CEF1; Tue, 16 Dec 2025 18:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1765911489; bh=fmSWN2pq0WZsJLWhbNz0r/XFZMN+8R0obUNiJMXdW8k=; h=Date:To:From:Subject:From; b=sRRmHxSmutmEHIuSB1EpZH/BIsX7n9F2/bgX/6AMSdTZaOlPQzbSP1O9SPY4Muh8N PfukeIYbtMUteT47MXJ6hF0mymPYwf5GLnDKL8wUOTSN0fIritKHNHiJvopnhPYWQo e8U6OJoOj/gGHM4GJgyLUIiTwqIGNvjdvi+Se884= Date: Tue, 16 Dec 2025 10:58:08 -0800 To: mm-commits@vger.kernel.org,vbabka@suse.cz,surenb@google.com,rppt@kernel.org,rostedt@goodmis.org,mhocko@suse.com,mhiramat@kernel.org,mathieu.desnoyers@efficios.com,lorenzo.stoakes@oracle.com,liam.howlett@oracle.com,corbet@lwn.net,sj@kernel.org,akpm@linux-foundation.org From: Andrew Morton Subject: + docs-mm-damon-design-update-for-nr_snapshots-damos-stat.patch added to mm-new branch Message-Id: <20251216185809.00111C4CEF1@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The patch titled Subject: Docs/mm/damon/design: update for nr_snapshots damos stat has been added to the -mm mm-new branch. Its filename is docs-mm-damon-design-update-for-nr_snapshots-damos-stat.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/docs-mm-damon-design-update-for-nr_snapshots-damos-stat.patch This patch will later appear in the mm-new branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Note, mm-new is a provisional staging ground for work-in-progress patches, and acceptance into mm-new is a notification for others take notice and to finish up reviews. Please do not hesitate to respond to review feedback and post updated versions to replace or incrementally fixup patches in mm-new. The mm-new branch of mm.git is not included in linux-next Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via various branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there most days ------------------------------------------------------ From: SeongJae Park Subject: Docs/mm/damon/design: update for nr_snapshots damos stat Date: Tue, 16 Dec 2025 00:01:16 -0800 Update DAMON design document for the newly added damos stat, nr_snapshots. Link: https://lkml.kernel.org/r/20251216080128.42991-4-sj@kernel.org Signed-off-by: SeongJae Park Cc: Jonathan Corbet Cc: Liam Howlett Cc: Lorenzo Stoakes Cc: "Masami Hiramatsu (Google)" Cc: Mathieu Desnoyers Cc: Michal Hocko Cc: Mike Rapoport Cc: Steven Rostedt Cc: Suren Baghdasaryan Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- Documentation/mm/damon/design.rst | 2 ++ 1 file changed, 2 insertions(+) --- a/Documentation/mm/damon/design.rst~docs-mm-damon-design-update-for-nr_snapshots-damos-stat +++ a/Documentation/mm/damon/design.rst @@ -718,6 +718,8 @@ scheme's execution. - ``nr_applied``: Total number of regions that the scheme is applied. - ``sz_applied``: Total size of regions that the scheme is applied. - ``qt_exceeds``: Total number of times the quota of the scheme has exceeded. +- ``nr_snapshots``: Total number of DAMON snapshots that the scheme is tried to + be applied. "A scheme is tried to be applied to a region" means DAMOS core logic determined the region is eligible to apply the scheme's :ref:`action _ Patches currently in -mm which might be from sj@kernel.org are mm-damon-core-introduce-nr_snapshots-damos-stat.patch mm-damon-sysfs-schemes-introduce-nr_snapshots-damos-stat-file.patch docs-mm-damon-design-update-for-nr_snapshots-damos-stat.patch docs-admin-guide-mm-damon-usage-update-for-nr_snapshots-damos-stat.patch docs-abi-damon-update-for-nr_snapshots-damos-stat.patch mm-damon-update-damos-kerneldoc-for-stat-field.patch mm-damon-core-implement-max_nr_snapshots.patch mm-damon-sysfs-schemes-implement-max_nr_snapshots-file.patch docs-mm-damon-design-update-for-max_nr_snapshots.patch docs-admin-guide-mm-damon-usage-update-for-max_nr_snapshots.patch docs-abi-damon-update-for-max_nr_snapshots.patch mm-damon-core-add-trace-point-for-damos-stat-per-apply-interval.patch