Skip to contentSkip to conversation

mm/damon: update documents for mm-next onboarding

RFC PATCH In review SJ Park 2 participants 8 messages Nov 21

Subsystems (4)
lore
Share & tools
lore

SJ Park

author maintainer
#0 lore raw

cover mm/damon: update documents for mm-next onboarding

Right after the 7.5-rc1 release, DAMON will onboard the mm-next transition [1]. The major change is that it will use mm/damon.git [2] and mm/linux.git [3] instead of sj/linux.git [4] and akpm/mm.git [5].

Update MAINTAINERS file to capture the change, via patch 1. Further update DAMON maintainer-profile document for the change, step by step, via patches 2-4.

[1] https://lore.kernel.org/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/mm/damon.git/
[3] https://git.kernel.org/pub/scm/linux/kernel/git/mm/linux.git/
[4] https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git/
[4] https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/

Huge thanks to Andrew for his tremendous mm.git works that raised DAMON up to the current state.

SJ Park (4):
MAINTAINERS: change DAMON SCM tree to mm/damon.git Docs/mm/damon/maintainer-profile: use damon.git for patch baselines Docs/mm/damon/maintainer-profile: drop 'SCM Trees' section Docs/mm/damon/maintainer-profile: update key cycle dates for damon.git

 Documentation/mm/damon/maintainer-profile.rst | 57 ++++++++++---------
 MAINTAINERS                                   | 36 ++++++------
 2 files changed, 46 insertions(+), 47 deletions(-)

base-commit: b0ddc1203e3d7a63e712e8988a03f98dbb179904

Signature · 1 line
2.47.3
author maintainer
#1 lore raw

RFC PATCH 1/4 MAINTAINERS: change DAMON SCM tree to mm/damon.git

Right after 7.5-rc1, DAMON will onboard the mm-next transition. The major change is that it will use mm/damon.git [2] as its SCM tree. Update the DAMON subsystem SCM tree section on the MAINTAINERS file for that. Together, rename the section to have 'MEMORY MANAGEMENT - ' prefix, to be consistent with other mm components. Because the name is changed, move the section on the file to be alphabetically sorted.

[1] https://lore.kernel.org/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/mm/damon.git/

---
 MAINTAINERS | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)
MAINTAINERS +17 -19
index 8fd9991739547..5c06967640fd7 100644
@@ -7366,25 +7366,6 @@ S:	Maintained
 W:	https://docs.dasharo.com/
 F:	drivers/platform/x86/dasharo-acpi.c
 
-DAMON
-M:	SJ Park <[email protected]>
-L:	[email protected]
-L:	[email protected]
-S:	Maintained
-W:	https://damonitor.github.io
-P:	Documentation/mm/damon/maintainer-profile.rst
-T:	git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
-T:	quilt git://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new
-T:	git git://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
-F:	Documentation/ABI/testing/sysfs-kernel-mm-damon
-F:	Documentation/admin-guide/mm/damon/
-F:	Documentation/mm/damon/
-F:	include/linux/damon.h
-F:	include/trace/events/damon.h
-F:	mm/damon/
-F:	samples/damon/
-F:	tools/testing/selftests/damon/
-
 DAVICOM FAST ETHERNET (DMFE) NETWORK DRIVER
 L:	[email protected]
 S:	Orphan
@@ -17563,6 +17544,23 @@ F:	mm/vmstat.c
 F:	scripts/gdb/linux/mm.py
 N:	include\/linux\/page[-_][a-zA-Z]*
 
+MEMORY MANAGEMENT - DAMON
+M:	SJ Park <[email protected]>
+L:	[email protected]
+L:	[email protected]
+S:	Maintained
+W:	https://damonitor.github.io
+P:	Documentation/mm/damon/maintainer-profile.rst
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/mm/damon.git for-next
+F:	Documentation/ABI/testing/sysfs-kernel-mm-damon
+F:	Documentation/admin-guide/mm/damon/
+F:	Documentation/mm/damon/
+F:	include/linux/damon.h
+F:	include/trace/events/damon.h
+F:	mm/damon/
+F:	samples/damon/
+F:	tools/testing/selftests/damon/
+
 MEMORY MANAGEMENT - EXECMEM
 M:	Andrew Morton <[email protected]>
 M:	Mike Rapoport <[email protected]>
Signature · 1 line
2.47.3
author maintainer
#2 lore raw

RFC PATCH 2/4 Docs/mm/damon/maintainer-profile: use damon.git for patch baselines

In reply to SJ Park

Right after 7.5-rc1, DAMON will onboard the mm-next transition [1]. Update DAMON maintainer-profile document to suggest using damon.git [2] for-next and for-next-fixes trees as baselines, following the mm-next process guideline.

[1] https://lore.kernel.org/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/mm/damon.git/

---
 Documentation/mm/damon/maintainer-profile.rst | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
Documentation/mm/damon/maintainer-profile.rst +12 -5
index c482690320249..cc6b79c066a64 100644
@@ -3,13 +3,20 @@
 DAMON Maintainer Entry Profile
 ==============================
 
-The DAMON subsystem covers the files that are listed in 'DAMON' section of
-'MAINTAINERS' file.
+The DAMON subsystem covers the files that are listed in 'MEMORY MANAGEMENT -
+DAMON' section of 'MAINTAINERS' file.
 
 The mailing lists for the subsystem are [email protected] and
[email protected].  Patches should be made against the `mm-new tree
-<https://git.kernel.org/akpm/mm/h/mm-new>`_ whenever possible and posted to the
-mailing lists.
[email protected].
+
+Non-urgent patches should be made against the damon.git `for-next
+<https://git.kernel.org/mm/damon/h/for-next>`_ tree.  Urgent patches should be
+made against the damon.git `for-next-fixes
+<https://git.kernel.org/mm/damon/h/for-next-fixes>`_ tree.  If there is a
+reason to not use those branches as the baseline of the patch, please explain
+the reason and what baseline is used.
+
+Patches should be posted to the mailing lists whenever possible.
 
 SCM Trees
 ---------
Signature · 1 line
2.47.3
author maintainer
#5 lore raw

RFC PATCH 3/4 Docs/mm/damon/maintainer-profile: drop 'SCM Trees' section

In reply to SJ Park

Right after 7.5-rc1, DAMON will onboard the mm-next transition [1]. The major change is that it will use damon.git [2] as its SCM tree. 'SCM Trees' section on the maintainer profile document will be outdated. The updates for the new process would make the roles of the new trees clear. Hence 'SCM Trees' section would be no more necessary. Remove the section.

[1] https://lore.kernel.org/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/mm/damon.git/

---
 Documentation/mm/damon/maintainer-profile.rst | 20 -------------------
 1 file changed, 20 deletions(-)
Documentation/mm/damon/maintainer-profile.rst +0 -20
index cc6b79c066a64..f9a8df2b11e73 100644
@@ -18,26 +18,6 @@ the reason and what baseline is used.
 
 Patches should be posted to the mailing lists whenever possible.
 
-SCM Trees
----------
-
-There are multiple Linux trees for DAMON development.  Patches under
-development or testing are queued in `damon/next
-<https://git.kernel.org/sj/h/damon/next>`_ by the DAMON maintainer.
-Sufficiently reviewed patches will be queued in `mm-new
-<https://git.kernel.org/akpm/mm/h/mm-new>`_ by the memory management subsystem
-maintainer.  As more sufficient tests are done, the patches will move to
-`mm-unstable <https://git.kernel.org/akpm/mm/h/mm-unstable>`_ and then to
-`mm-stable <https://git.kernel.org/akpm/mm/h/mm-stable>`_.  And finally those
-will be pull-requested to the mainline by the memory management subsystem
-maintainer.
-
-Note again the patches for `mm-new tree
-<https://git.kernel.org/akpm/mm/h/mm-new>`_ are queued by the memory management
-subsystem maintainer.  If the patches require some patches in `damon/next tree
-<https://git.kernel.org/sj/h/damon/next>`_ which have not yet merged in mm-new,
-please make sure the requirement is clearly specified.
-
 Submit checklist addendum
 -------------------------
 
Signature · 1 line
2.47.3
author maintainer
#6 lore raw

RFC PATCH 4/4 Docs/mm/damon/maintainer-profile: update key cycle dates for damon.git

In reply to SJ Park

Right after 7.5-rc1, DAMON will onboard the mm-next transition [1]. It will make a few changes to the expected timeline for patches. Update 'key cycle dates' to align with the changes.

[1] https://lore.kernel.org/[email protected]/

---
 Documentation/mm/damon/maintainer-profile.rst | 24 +++++++++++++++----
 1 file changed, 19 insertions(+), 5 deletions(-)
Documentation/mm/damon/maintainer-profile.rst +19 -5
index f9a8df2b11e73..75ad74b5b6e93 100644
@@ -41,11 +41,25 @@ Further doing below and putting the results will be helpful.
 Key cycle dates
 ---------------
 
-Patches can be sent anytime.  Key cycle dates of the `mm-new
-<https://git.kernel.org/akpm/mm/h/mm-new>`_, `mm-unstable
-<https://git.kernel.org/akpm/mm/h/mm-unstable>`_ and `mm-stable
-<https://git.kernel.org/akpm/mm/h/mm-stable>`_ trees depend on the memory
-management subsystem maintainer.
+Patches can be sent to and reviewed on the mailing lists anytime.
+
+Patches that are sufficiently reviewed will be merged into damon.git
+``for-next`` or ``for-next-fixes`` trees.  The destination tree is decided
+based on the urgency of the patches.  Non-urgent patches are merged into
+``for-next``.  Urgent patches are merged into ``for-next-fixes``.  Being merged
+into damon.git is only for additional review and testing.  All patches in
+damon.git can be reviewed, modified and dropped at any time.
+
+Patches in ``for-next-fixes`` tree stay there for at least one week, for
+additional review and testing.  After that, those would be pull-requested to
+the mainline.
+
+Patches in ``for-next`` tree stay there at least two weeks, for additional
+review and testing.  After that, those would be pull-requested to the mainline,
+in the next merge window.
+
+``for-next`` tree is closed for new patches from -rc6 release to next -rc1
+release.
 
 Review cadence
 --------------
Signature · 1 line
2.47.3
#3 lore raw

Re: [RFC PATCH 2/4] Docs/mm/damon/maintainer-profile: use damon.git for patch baselines

In reply to SJ Park
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] Docs/mm/damon: commit message omits MAINTAINERS section name update --

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] Docs/mm/damon: commit message omits MAINTAINERS section name update
--

commit 6bab7534a11559ea9b976bf2b9816f3e4a1d90b2
Author: SJ Park <[email protected]>

Docs/mm/damon/maintainer-profile: use damon.git for patch baselines

This commit updates the DAMON maintainer profile documentation to direct patches against the damon.git for-next and for-next-fixes trees and updates the referenced MAINTAINERS section name.

Documentation/mm/damon/maintainer-profile.rst line 7

Quoted 12 lines
Documentation/mm/damon/maintainer-profile.rst +2 -2
index c482690320249..cc6b79c066a64 100644
@@ -3,13 +3,20 @@
 DAMON Maintainer Entry Profile
 ==============================
 
-The DAMON subsystem covers the files that are listed in 'DAMON' section of
-'MAINTAINERS' file.
+The DAMON subsystem covers the files that are listed in 'MEMORY MANAGEMENT -
+DAMON' section of 'MAINTAINERS' file.

[Severity: Low]
This isn't a bug, but the commit message only describes updating the patch baseline branches to damon.git and doesn't mention updating the MAINTAINERS section name reference to 'MEMORY MANAGEMENT - DAMON'.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
#7 lore raw
In reply to SJ Park
Sashiko has finished reviewing this 4-patch series:

Sashiko has finished reviewing this 4-patch series:

- Patches 3 and 4: no issues found.
- Patch 2 ("Docs/mm/damon/maintainer-profile: use damon.git for..."): 1 potential issue (1 Low)
- Patch 1: skipped (not reviewed).

A detailed review has been sent as a separate reply to patch 2.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]
author maintainer
#4 lore raw

Re: [RFC PATCH 2/4] Docs/mm/damon/maintainer-profile: use damon.git for patch baselines

In reply to [email protected]
Quoted 23 lines · On Sat, 21 Nov 2026 19:42:08 +0000 [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] Docs/mm/damon: commit message omits MAINTAINERS section name update
--

commit 6bab7534a11559ea9b976bf2b9816f3e4a1d90b2
Author: SJ Park <[email protected]>

Docs/mm/damon/maintainer-profile: use damon.git for patch baselines

This commit updates the DAMON maintainer profile documentation to direct patches against the damon.git for-next and for-next-fixes trees and updates the referenced MAINTAINERS section name.

Quoted 8 lines
Documentation/mm/damon/maintainer-profile.rst +0 -0
index c482690320249..cc6b79c066a64 100644
@@ -3,13 +3,20 @@
 DAMON Maintainer Entry Profile
 ==============================
 
Quoted 9 lines

Documentation/mm/damon/maintainer-profile.rst line 7

Quoted 4 lines
Documentation/mm/damon/maintainer-profile.rst +2 -2
-The DAMON subsystem covers the files that are listed in 'DAMON' section of
-'MAINTAINERS' file.
+The DAMON subsystem covers the files that are listed in 'MEMORY MANAGEMENT -
+DAMON' section of 'MAINTAINERS' file.

[Severity: Low]
This isn't a bug, but the commit message only describes updating the patch baseline branches to damon.git and doesn't mention updating the MAINTAINERS section name reference to 'MEMORY MANAGEMENT - DAMON'.

Good catch, I will update the commit message in the next spin.

Quoted 4 lines
Signature · 2 lines
-- 
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2

Thanks,
SJ