SeongJae Park
3eda936f2a
Docs/ABI/damon: update for goal_tuner
...
Update the ABI document for the newly added goal_tuner sysfs file.
Link: https://lkml.kernel.org/r/20260310010529.91162-8-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2026-04-05 13:53:26 -07:00
SeongJae Park
dcecf9e58b
Docs/ABI/damon: update for max_nr_snapshots
...
Update DAMON ABI document for the newly added DAMON sysfs interface file,
max_nr_snapshots.
Link: https://lkml.kernel.org/r/20251216080128.42991-12-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Liam Howlett <liam.howlett@oracle.com >
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com >
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org >
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com >
Cc: Michal Hocko <mhocko@suse.com >
Cc: Mike Rapoport <rppt@kernel.org >
Cc: Steven Rostedt <rostedt@goodmis.org >
Cc: Suren Baghdasaryan <surenb@google.com >
Cc: Vlastimil Babka <vbabka@suse.cz >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2026-01-20 19:24:46 -08:00
SeongJae Park
55221e53f7
Docs/ABI/damon: update for nr_snapshots damos stat
...
Update DAMON ABI document for the newly added damos stat, nr_snapshots.
Link: https://lkml.kernel.org/r/20251216080128.42991-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Liam Howlett <liam.howlett@oracle.com >
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com >
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org >
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com >
Cc: Michal Hocko <mhocko@suse.com >
Cc: Mike Rapoport <rppt@kernel.org >
Cc: Steven Rostedt <rostedt@goodmis.org >
Cc: Suren Baghdasaryan <surenb@google.com >
Cc: Vlastimil Babka <vbabka@suse.cz >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2026-01-20 19:24:44 -08:00
SeongJae Park
9abe8d0519
Docs/ABI/damon: document obsolete_target sysfs file
...
Update DAMON ABI document for the newly added obsolete_target DAMON sysfs
file.
Link: https://lkml.kernel.org/r/20251023012535.69625-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Reviewed-by: Bijan Tabatabai <bijan311@gmail.com >
Cc: David Hildenbrand <david@redhat.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Liam Howlett <liam.howlett@oracle.com >
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com >
Cc: Michal Hocko <mhocko@suse.com >
Cc: Mike Rapoport <rppt@kernel.org >
Cc: Shuah Khan <shuah@kernel.org >
Cc: Suren Baghdasaryan <surenb@google.com >
Cc: Vlastimil Babka <vbabka@suse.cz >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-11-16 17:28:24 -08:00
SeongJae Park
40d923acfa
Docs/ABI/damon: document DAMOS quota goal path file
...
A DAMON sysfs interface file for DAMOS quota goal's optional path argument
has been added. Document it on the ABI doc.
Link: https://lkml.kernel.org/r/20251017212706.183502-11-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-11-16 17:28:09 -08:00
SeongJae Park
56cd19404a
Docs/ABI/damon: document addr_unit file
...
Document addr_unit DAMON sysfs file on DAMON ABI document.
Link: https://lkml.kernel.org/r/20250828171242.59810-11-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Quanmin Yan <yanquanmin1@huawei.com >
Reviewed-by: SeongJae Park <sj@kernel.org >
Cc: David Hildenbrand <david@redhat.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Kefeng Wang <wangkefeng.wang@huawei.com >
Cc: Liam Howlett <liam.howlett@oracle.com >
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com >
Cc: Michal Hocko <mhocko@suse.com >
Cc: Mike Rapoport <rppt@kernel.org >
Cc: Suren Baghdasaryan <surenb@google.com >
Cc: Vlastimil Babka <vbabka@suse.cz >
Cc: ze zuo <zuoze1@huawei.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-09-13 16:55:24 -07:00
SeongJae Park
cc1c6724eb
Docs/ABI/damon: update for refresh_ms
...
Document the new DAMON sysfs file, refresh_ms, on the ABI document.
Link: https://lkml.kernel.org/r/20250717055448.56976-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-07-24 19:12:33 -07:00
SeongJae Park
b9dfe8af51
Docs/ABI/damon: document schemes dests directory
...
Document the new DAMOS action destinations sysfs directories on ABI doc.
Link: https://lkml.kernel.org/r/20250709005952.17776-6-bijan311@gmail.com
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Bijan Tabatabai <bijantabatab@micron.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Ravi Shankar Jonnalagadda <ravis.opensrc@micron.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-07-19 18:59:49 -07:00
SeongJae Park
f77cb46226
Docs/ABI/damon: document nid file
...
Add a description of 'nid' file, which is optionally used for specific
DAMOS quota goal metrics such as node_mem_{used,free}_bp on the DAMON
sysfs ABI document.
Link: https://lkml.kernel.org/r/20250420194030.75838-7-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Yunjeong Mun <yunjeong.mun@sk.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-05-12 23:50:30 -07:00
SeongJae Park
899e4c14af
Docs/ABI/damon: document {core,ops}_filters directories
...
Document the new DAMOS filters sysfs directories on ABI doc.
Link: https://lkml.kernel.org/r/20250305222733.59089-8-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-03-17 22:06:49 -07:00
SeongJae Park
e2b23dc623
Docs/ABI/damon: document intervals auto-tuning ABI
...
Document the DAMON user-space ABI for DAMON sampling and aggregation
intervals auto-tuning.
Link: https://lkml.kernel.org/r/20250303221726.484227-8-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-03-17 00:05:33 -07:00
Usama Arif
807db03c59
Docs/ABI/damon: document DAMOS sysfs files to set the min/max folio_size
...
This will be used to decide the min and max folio size to operate on for
pa_stat.
Link: https://lkml.kernel.org/r/20250211124437.278873-4-usamaarif642@gmail.com
Signed-off-by: Usama Arif <usamaarif642@gmail.com >
Reviewed-by: SeongJae Park <sj@kernel.org >
Cc: David Hildenbrand <david@redhat.com >
Cc: Johannes Weiner <hannes@cmpxchg.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-03-16 22:06:13 -07:00
SeongJae Park
1c2ac23df7
Docs/ABI/damon: document DAMOS filter allow sysfs file
...
Update DAMON ABI document for added DAMOS filter 'allow' file.
Link: https://lkml.kernel.org/r/20250109175126.57878-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-01-25 20:22:32 -08:00
SeongJae Park
f1de9e69f9
Docs/ABI/damon: document per-region DAMOS filter-passed bytes stat file
...
Document the new ABI for per-region operations set layer-handled DAMOS
filters passed bytes statistic.
Link: https://lkml.kernel.org/r/20250106193401.109161-17-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-01-25 20:22:28 -08:00
SeongJae Park
e1a1d377e4
Docs/ABI/damon: document per-scheme filter-passed bytes stat file
...
Document the new ABI for per-scheme operations set layer-handled DAMOS
filters passed bytes statistic on the ABI document.
Link: https://lkml.kernel.org/r/20250106193401.109161-12-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2025-01-25 20:22:27 -08:00
Hyeongtak Ji
e36287c6e1
mm/damon/sysfs-schemes: add target_nid on sysfs-schemes
...
This patch adds target_nid under
/sys/kernel/mm/damon/admin/kdamonds/<N>/contexts/<N>/schemes/<N>/
The 'target_nid' can be used as the destination node for DAMOS actions
such as DAMOS_MIGRATE_{HOT,COLD} in the follow up patches.
[sj@kernel.org: document target_nid file]
Link: https://lkml.kernel.org/r/20240618213630.84846-3-sj@kernel.org
Link: https://lkml.kernel.org/r/20240614030010.751-4-honggyu.kim@sk.com
Signed-off-by: Hyeongtak Ji <hyeongtak.ji@sk.com >
Signed-off-by: Honggyu Kim <honggyu.kim@sk.com >
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Gregory Price <gregory.price@memverge.com >
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com >
Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org >
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com >
Cc: Rakie Kim <rakie.kim@sk.com >
Cc: Steven Rostedt (Google) <rostedt@goodmis.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2024-07-03 19:30:12 -07:00
SeongJae Park
eedbd23dca
Docs/ABI/damon: update for 'youg page' type DAMOS filter
...
Update DAMON ABI document for the newly added DAMO filter type, 'young
page'.
Link: https://lkml.kernel.org/r/20240426195247.100306-8-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Honggyu Kim <honggyu.kim@sk.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2024-05-05 17:53:56 -07:00
SeongJae Park
adc3908b3c
Docs/ABI/damon: document quota goal metric file
...
Update DAMON ABI document for the quota goal target_metric file.
Link: https://lkml.kernel.org/r/20240219194431.159606-17-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2024-02-23 17:48:29 -08:00
SeongJae Park
68c4905bba
Docs/ABI/damon: document effective_bytes sysfs file
...
Update the DAMON ABI doc for the effective_bytes sysfs file and the
kdamond state file input command for updating the content of the file.
Link: https://lkml.kernel.org/r/20240219194431.159606-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2024-02-23 17:48:26 -08:00
SeongJae Park
0972913f96
Docs/ABI/damon: document DAMOS quota goals
...
Update DAMON ABI document for the newly added DAMON sysfs files and inputs
for DAMOS quota goals.
Link: https://lkml.kernel.org/r/20231130023652.50284-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Brendan Higgins <brendanhiggins@google.com >
Cc: David Gow <davidgow@google.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <shuah@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2023-12-12 10:57:04 -08:00
SeongJae Park
d57d36b56d
Docs/ABI/damon: update for DAMOS apply intervals
...
Update DAMON ABI document for the newly added DAMON sysfs file for DAMOS
apply intervals (apply_interval_us file).
Link: https://lkml.kernel.org/r/20230916020945.47296-10-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <shuah@kernel.org >
Cc: Steven Rostedt (Google) <rostedt@goodmis.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2023-10-04 10:32:32 -07:00
Linus Torvalds
cd99b9eb4b
Merge tag 'docs-6.6' of git://git.lwn.net/linux
...
Pull documentation updates from Jonathan Corbet:
"Documentation work keeps chugging along; this includes:
- Work from Carlos Bilbao to integrate rustdoc output into the
generated HTML documentation. This took some work to figure out how
to do it without slowing the docs build and without creating people
who don't have Rust installed, but Carlos got there
- Move the loongarch and mips architecture documentation under
Documentation/arch/
- Some more maintainer documentation from Jakub
... plus the usual assortment of updates, translations, and fixes"
* tag 'docs-6.6' of git://git.lwn.net/linux: (56 commits)
Docu: genericirq.rst: fix irq-example
input: docs: pxrc: remove reference to phoenix-sim
Documentation: serial-console: Fix literal block marker
docs/mm: remove references to hmm_mirror ops and clean typos
docs/zh_CN: correct regi_chg(),regi_add() to region_chg(),region_add()
Documentation: Fix typos
Documentation/ABI: Fix typos
scripts: kernel-doc: fix macro handling in enums
scripts: kernel-doc: parse DEFINE_DMA_UNMAP_[ADDR|LEN]
Documentation: riscv: Update boot image header since EFI stub is supported
Documentation: riscv: Add early boot document
Documentation: arm: Add bootargs to the table of added DT parameters
docs: kernel-parameters: Refer to the correct bitmap function
doc: update params of memhp_default_state=
docs: Add book to process/kernel-docs.rst
docs: sparse: fix invalid link addresses
docs: vfs: clean up after the iterate() removal
docs: Add a section on surveys to the researcher guidelines
docs: move mips under arch
docs: move loongarch under arch
...
2023-08-30 20:05:42 -07:00
SeongJae Park
d3d21d91ae
Docs/ABI/damon: update for DAMON monitoring target type DAMOS filter
...
Update DAMON ABI document for the newly added DAMON monitoring target type
DAMOS filter.
Link: https://lkml.kernel.org/r/20230802214312.110532-13-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Brendan Higgins <brendanhiggins@google.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <shuah@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2023-08-21 13:37:38 -07:00
SeongJae Park
2beb97fcbf
Docs/ABI/damon: update for address range DAMOS filter
...
Update DAMON ABI document for address ranges type DAMOS filter files.
Link: https://lkml.kernel.org/r/20230802214312.110532-7-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Brendan Higgins <brendanhiggins@google.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <shuah@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2023-08-21 13:37:36 -07:00
SeongJae Park
e91b5ccf1f
Docs/ABI/damon: update for tried_regions/total_bytes
...
Update the DAMON ABI document for newly added
schemes/.../tried_regions/total_bytes file and the
update_schemes_tried_bytes command.
Link: https://lkml.kernel.org/r/20230802213222.109841-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <shuah@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2023-08-21 13:37:35 -07:00
Bjorn Helgaas
ebab9426cd
Documentation/ABI: Fix typos
...
Fix typos in Documentation/ABI. The changes are in descriptions or
comments where they shouldn't affect use of the ABIs.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com >
Reviewed-by: Randy Dunlap <rdunlap@infradead.org >
Link: https://lore.kernel.org/r/20230814212822.193684-2-helgaas@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2023-08-18 11:28:40 -06:00
SeongJae Park
497b099d9a
Docs/ABI/damon: document scheme filters files
...
Document newly added DAMON sysfs interface files for DAMOS filtering on
the DAMON ABI document.
Link: https://lkml.kernel.org/r/20221205230830.144349-12-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <shuah@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2023-01-18 17:12:44 -08:00
SeongJae Park
1b0006daa3
Docs/ABI/damon: document 'schemes/<s>/tried_regions' sysfs directory
...
Update DAMON ABI document for the 'tried_regions' directory of DAMON
sysfs interface.
Link: https://lkml.kernel.org/r/20221101220328.95765-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <shuah@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2022-11-30 15:58:45 -08:00
SeongJae Park
adc286e6bd
Docs/{ABI,admin-guide}/damon: Update for 'state' sysfs file input keyword, 'commit'
...
This commit documents the newly added 'state' sysfs file input keyword,
'commit', which allows online tuning of DAMON contexts.
Link: https://lkml.kernel.org/r/20220429160606.127307-13-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2022-05-13 07:20:09 -07:00
SeongJae Park
915418088c
Docs/{ABI,admin-guide}/damon: update for fixed virtual address ranges monitoring
...
This commit documents the user space support of the newly added monitoring
operations set for fixed virtual address ranges monitoring, namely
'fvaddr', on the ABI and usage documents for DAMON.
Link: https://lkml.kernel.org/r/20220426231750.48822-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2022-05-13 07:20:06 -07:00
SeongJae Park
2fe60ec99b
Docs/{ABI,admin-guide}/damon: document 'avail_operations' sysfs file
...
This commit updates the DAMON ABI and usage documents for the new sysfs
file, 'avail_operations'.
Link: https://lkml.kernel.org/r/20220426203843.45238-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2022-05-13 07:20:06 -07:00
SeongJae Park
f968c6a4c6
Docs/ABI/testing: add DAMON sysfs interface ABI document
...
This commit adds DAMON sysfs interface ABI document under
Documentation/ABI/testing.
Link: https://lkml.kernel.org/r/20220228081314.5770-14-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org >
Cc: David Rientjes <rientjes@google.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Shuah Khan <skhan@linuxfoundation.org >
Cc: Xin Hao <xhao@linux.alibaba.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2022-03-22 15:57:13 -07:00