Skip to content

mm/damon: make DAMON debugfs interface deprecation unignorable

SeongJae Park damon linux-doc linux-kselftest linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] docs-translations-damon-usage-update-for-monitor_on-renaming.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyApplied 9/9

Patches in v1 All 9 applied

#Subject and filesSizeRepliesApplied
1/9Docs/admin-guide/mm/damon/usage: use sysfs interface for tracepoints exampleDocumentation/admin-guide/mm/damon/usage.rst+2 -20 repliesApplied
2/9mm/damon: rename CONFIG_DAMON_DBGFS to DAMON_DBGFS_DEPRECATEDmm/damon/Kconfig+6 -10 repliesApplied
3/9mm/damon/dbgfs: implement deprecation notice filemm/damon/dbgfs.c+18 -20 repliesApplied
4/9mm/damon/dbgfs: make debugfs interface deprecation message a macromm/damon/dbgfs.c+7 -80 repliesApplied
5/9Docs/admin-guide/mm/damon/usage: document 'DEPRECATED' file of DAMON debugfs interfaceDocumentation/admin-guide/mm/damon/usage.rst+10 -30 repliesApplied
6/9selftets/damon: prepare for monitor_on file renamingtools/testing/selftests/damon/_chk_dependency.sh tools/testing/selftests/damon/_debugfs_common.sh tools/testing/selftests/damon/debugfs_empty_targets.sh+26 -40 repliesApplied
7/9mm/damon/dbgfs: rename monitor_on file to monitor_on_DEPRECATEDmm/damon/dbgfs.c+1 -10 repliesApplied
8/9Docs/admin-guide/mm/damon/usage: update for monitor_on renamingDocumentation/admin-guide/mm/damon/usage.rst+15 -140 repliesApplied
9/9Docs/translations/damon/usage: update for monitor_on renamingDocumentation/translations/zh_CN/admin-guide/mm/damon/usage.rst Documentation/translations/zh_TW/admin-guide/mm/damon/usage.rst+20 -201 replyApplied

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchAlex Shi
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] mm/damon: make DAMON debugfs interface deprecation unignorable

DAMON debugfs interface is deprecated in February 2023, by commit 5445fcbc4cda ("Docs/admin-guide/mm/damon/usage: add DAMON debugfs interface deprecation notice"). Make the fact unable to be easily ignored by removing an example usage from the document (patch 1), renaming the config (patch 2), adding a deprecation notice file to the debugfs directory (patches 3-5), and renaming the debugfs file that essnetial to be used for real use of DAMON (patches 6-9).

SeongJae Park (9):
Docs/admin-guide/mm/damon/usage: use sysfs interface for tracepoints
example
mm/damon: rename CONFIG_DAMON_DBGFS to DAMON_DBGFS_DEPRECATED mm/damon/dbgfs: implement deprecation notice file mm/damon/dbgfs: make debugfs interface deprecation message a macro Docs/admin-guide/mm/damon/usage: document 'DEPRECATED' file of DAMON
debugfs interface
selftets/damon: prepare for monitor_on file renaming mm/damon/dbgfs: rename monitor_on file to monitor_on_DEPRECATED Docs/admin-guide/mm/damon/usage: update for monitor_on renaming Docs/translations/damon/usage: update for monitor_on renaming

 Documentation/admin-guide/mm/damon/usage.rst  | 42 +++++++++++--------
 .../zh_CN/admin-guide/mm/damon/usage.rst      | 20 ++++-----
 .../zh_TW/admin-guide/mm/damon/usage.rst      | 20 ++++-----
 mm/damon/Kconfig                              |  7 +++-
 mm/damon/dbgfs.c                              | 27 +++++++++---
 .../selftests/damon/_chk_dependency.sh        | 11 ++++-
 .../selftests/damon/_debugfs_common.sh        |  7 ++++
 .../selftests/damon/debugfs_empty_targets.sh  | 12 +++++-
 8 files changed, 98 insertions(+), 48 deletions(-)

base-commit: f1ab2f51e99ffb94ce127d132b24be00dc130e6c

Signature · 1 line
2.39.2