Skip to content

mm/damon/stat: add kdamond_pid parameter

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

Status from this message: [merged mm-stable] docs-admin-guide-mm-damon-stat-document-kdamond_pid-parameter.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Changes from RFC v2 from the cover letter

- v2: https://lore.kernel.org/[email protected]
- Rebase to latest mm-new.
Changes from RFC v1.2
- rfc v1.2: https://lore.kernel.org/[email protected]
- Detect and use fresh kdamond pid.
Changes from RFC v1.1
- rfc v1.1: https://lore.kernel.org/[email protected]
- Close the parentheses of error handling block.
Changes from RFC
- rfc: https://lore.kernel.org/[email protected]
- Fix damon_kdamond_pid() failure handling.

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/damon/stat: add a parameter for reading kdamond pidmm/damon/stat.c+39 -00 repliesApplied
2/2Docs/admin-guide/mm/damon/stat: document kdamond_pid parameterDocumentation/admin-guide/mm/damon/stat.rst+7 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] mm/damon/stat: add kdamond_pid parameter

DAMON_STAT doesn't provide the pid of its kdamond, unlike DAMON_RECLAIM and DAMON_LRU_SORT. This makes user-space management of DAMON_STAT unnecessarily complicated. Provide the information via a new parameter, namely kdamond_pid, and document it.

Changes from RFC v2.1
- v2.1: https://lore.kernel.org/[email protected]
- Add parameter description.
- Rebase to latest mm-new.
Changes from RFC v2
- v2: https://lore.kernel.org/[email protected]
- Rebase to latest mm-new.
Changes from RFC v1.2
- rfc v1.2: https://lore.kernel.org/[email protected]
- Detect and use fresh kdamond pid.
Changes from RFC v1.1
- rfc v1.1: https://lore.kernel.org/[email protected]
- Close the parentheses of error handling block.
Changes from RFC
- rfc: https://lore.kernel.org/[email protected]
- Fix damon_kdamond_pid() failure handling.

SeongJae Park (2):
mm/damon/stat: add a parameter for reading kdamond pid Docs/admin-guide/mm/damon/stat: document kdamond_pid parameter

 Documentation/admin-guide/mm/damon/stat.rst |  7 ++++
 mm/damon/stat.c                             | 39 +++++++++++++++++++++
 2 files changed, 46 insertions(+)

base-commit: c9d6cc2ef4bef0a86002460ee8c39a1c76b3f1f7

Signature · 1 line
2.47.3