Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon 5.10.y/btrfs soft lockup #2

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
737 commits
Select commit Hold shift + click to select a range
2d48967
mm/damon: use set_huge_pte_at() to make huge pte old
Jun 20, 2022
b378c69
mm/damon/reclaim: fix potential memory leak in damon_reclaim_init()
Jul 14, 2022
0c76a52
mm/damon/dbgfs: avoid duplicate context directory creation
pbadari Aug 21, 2022
72ab7cd
Revert "x86/speculation: Add RSB VM Exit protections"
Aug 30, 2022
1ab2cfd
DOWNSTREAM ONLY: Revert "Makefile: link with -z noexecstack --no-warn…
Sep 14, 2022
43155b9
ENA: Update to v2.8.0
Sep 14, 2022
42d7b8f
lustre: update to AmazonFSxLustreClient v2.12.8-fsx4
shaoyingxu Sep 13, 2022
d67b15e
mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
gregkh Sep 2, 2022
766fd6c
damon/sysfs: fix possible memleak on damon_sysfs_add_target
SupremacistLevi Sep 26, 2022
60ee0b0
bpf: Allow LSM programs to use bpf spin locks
sinkap Nov 6, 2020
7781b51
bpf: Implement task local storage
sinkap Nov 6, 2020
8357514
io_uring/af_unix: defer registered files gc to io_uring release
isilence Oct 3, 2022
114bbae
mm/damon: remove obsolete comments of kdamond_stop
May 31, 2022
53177b0
kselftests/damon: add support for cases where debugfs cannot be read
Gautam-Menghani Jun 25, 2022
5ca9058
Docs/admin-guide/damon/reclaim: remove a paragraph that been obsolete…
sjp38 Jun 6, 2022
7d62190
mm/damon/{dbgfs,sysfs}: move target_has_pid() from dbgfs to damon.h
sjp38 Jun 6, 2022
bae123e
mm/damon/reclaim: deduplicate 'commit_inputs' handling
sjp38 Jun 6, 2022
f13edef
mm/damon/sysfs: deduplicate inputs applying
sjp38 Jun 6, 2022
de21643
mm/damon/reclaim: make 'enabled' checking timer simpler
sjp38 Jun 6, 2022
ac6e6ee
mm/damon/reclaim: add 'damon_reclaim_' prefix to 'enabled_store()'
sjp38 Jun 6, 2022
ab09f3f
mm/damon/dbgfs: add and use mappings between 'schemes' action inputs …
sjp38 Jun 13, 2022
2c615e6
mm/damon/paddr: use a separate function for 'DAMOS_PAGEOUT' handling
sjp38 Jun 13, 2022
ceec91f
mm/damon/schemes: add 'LRU_PRIO' DAMOS action
sjp38 Jun 13, 2022
6bbe643
Docs/admin-guide/damon/sysfs: document 'LRU_PRIO' scheme action
sjp38 Jun 13, 2022
71f679a
mm/damon/schemes: add 'LRU_DEPRIO' action
sjp38 Jun 13, 2022
96dbeb5
Docs/admin-guide/damon/sysfs: document 'LRU_DEPRIO' scheme action
sjp38 Jun 13, 2022
87fd67d
mm/damon: introduce DAMON-based LRU-lists Sorting
sjp38 Jun 13, 2022
be72680
Docs/admin-guide/damon: add a document for DAMON_LRU_SORT
sjp38 Jun 13, 2022
f8e1563
mm/damon/lru_sort: fix potential memory leak in damon_lru_sort_init()
sjp38 Jul 14, 2022
2f286d6
Docs/admin-guide/mm/damon/usage: fix the example code snip
ryncsn Aug 23, 2022
6fb5096
mm/damon: validate if the pmd entry is present before accessing
Aug 18, 2022
4b674fd
docs/vm/damon: remove broken reference
sj-aws Nov 5, 2021
e5a5845
Docs/vm/damon: call low level monitoring primitives the operations
sjp38 Mar 22, 2022
cdbbf41
Docs/vm/damon/design: update DAMON-Idle Page Tracking interference ha…
sjp38 Mar 22, 2022
d41d66e
drivers/amazon/net/efa: Add missed object file to compile
sj-aws Nov 2, 2022
e0ef71c
drivers/amazon/net/efa: update to 2.1.0
sj-aws Nov 2, 2022
914ecf6
lustre: update to AmazonFSxLustreClient v2.12.8-fsx6
paniakin-aws Nov 9, 2022
2584ecf
mm/damon/dbgfs: check if rm_contexts input is for a real context
sjp38 Nov 7, 2022
a0f31ef
mm/damon/sysfs-schemes: skip stats update if the scheme directory is …
sjp38 Nov 14, 2022
8c29e27
arm64: errata: Fix KVM Spectre-v2 mitigation selection for Cortex-A57…
Nov 28, 2022
c2e9fd6
mm/damon: introduce struct damos_access_pattern
Sep 8, 2022
ca8346c
mm/damon/sysfs: fix wrong empty schemes assumption under online tunin…
sjp38 Nov 22, 2022
e96689e
mm/damon/dbgfs: use kmalloc for allocating only one element
kennethlee33 Aug 8, 2022
8ba4680
mm/damon/core: simplify the parameter passing for region split operation
kaixuxiakx Aug 13, 2022
9f9bb3e
mm/damon: replace pmd_huge() with pmd_trans_huge() for THP
Aug 18, 2022
6a22438
mm/damon: simplify the parameter passing for 'check_accesses'
kaixuxiakx Aug 27, 2022
0d95abf
mm/damon/vaddr: remove comparison between mm and last_mm when checkin…
kaixuxiakx Aug 27, 2022
a343f7c
mm/damon: get the hotness from damon_hot_score() in damon_pageout_sco…
kaixuxiakx Aug 29, 2022
7867aca
mm/damon/sysfs: simplify the judgement whether kdamonds are busy
kaixuxiakx Sep 4, 2022
e9dca61
mm/damon/core: iterate the regions list from current point in damon_s…
kaixuxiakx Sep 6, 2022
1495a71
mm/damon: simplify damon_ctx check in damon_sysfs_before_terminate
Sep 7, 2022
3ccd35a
mm/damon/vaddr: add a comment for 'default' case in damon_va_apply_sc…
kaixuxiakx Sep 8, 2022
0f2ddef
selftest/damon: add a test for duplicate context dirs creation
sjp38 Sep 9, 2022
19c3a0c
mm/damon/core: avoid holes in newly set monitoring target ranges
sjp38 Sep 9, 2022
20fc560
mm/damon/core-test: test damon_set_regions
sjp38 Sep 9, 2022
1c3eb3c
Docs/admin-guide/mm/damon: rename the title of the document
sjp38 Sep 9, 2022
3732981
mm/damon/Kconfig: notify debugfs deprecation plan
sjp38 Sep 9, 2022
143de8f
Docs/admin-guide/mm/damon/start: mention the dependency as sysfs inst…
sjp38 Sep 9, 2022
7811266
Docs/admin-guide/mm/damon/usage: note DAMON debugfs interface depreca…
sjp38 Sep 9, 2022
d1386b6
mm/damon: remove duplicate get_monitoring_region() definitions
Sep 9, 2022
5cdf9cd
mm/damon/sysfs: change few functions execute order
Sep 8, 2022
eeaff00
mm/damon/sysfs: use the wrapper directly to check if the kdamond is r…
kaixuxiakx Sep 12, 2022
e7e6a91
mm/damon: improve damon_new_region strategy
Sep 12, 2022
760d1ff
mm/damon: simplify scheme create in damon_lru_sort_apply_parameters
Sep 11, 2022
bdc11e0
mm/damon/paddr: make supported DAMOS actions of paddr clear
sjp38 Sep 13, 2022
45b2c56
mm/damon/paddr: deduplicate damon_pa_{mark_accessed,deactivate_pages}()
sjp38 Sep 13, 2022
c262a2e
mm/damon/core: copy struct-to-struct instead of field-to-field in dam…
sjp38 Sep 13, 2022
0cbef87
mm/damon/core: factor out 'damos_quota' private fileds initialization
sjp38 Sep 13, 2022
c826677
mm/damon/core: use a dedicated struct for monitoring attributes
sjp38 Sep 13, 2022
6d15e06
mm/damon/core: reduce parameters for damon_set_attrs()
sjp38 Sep 13, 2022
5fd565c
mm/damon/reclaim: use 'struct damon_attrs' for storing parameters for it
sjp38 Sep 13, 2022
1d6c405
mm/damon/lru_sort: use 'struct damon_attrs' for storing parameters fo…
sjp38 Sep 13, 2022
906db85
mm/damon: implement a monitoring attributes module parameters generat…
sjp38 Sep 13, 2022
0704bba
mm/damon/lru_sort: use monitoring attributes parameters generaotr macro
sjp38 Sep 13, 2022
5ad0ec4
mm/damon/reclaim: use monitoring attributes parameters generator macro
sjp38 Sep 13, 2022
9f23fce
mm/damon/modules-common: implement a watermarks module parameters gen…
sjp38 Sep 13, 2022
6e9f5f1
mm/damon/lru_sort: use watermarks parameters generator macro
sjp38 Sep 13, 2022
627f651
mm/damon/reclaim: use watermarks parameters generator macro
sjp38 Sep 13, 2022
b02e909
mm/damon/modules-common: implement a stats parameters generator macro
sjp38 Sep 13, 2022
df9a560
mm/damon/reclaim: use stat parameters generator
sjp38 Sep 13, 2022
d0fef28
mm/damon/lru_sort: use stat generator
sjp38 Sep 13, 2022
26a3e34
mm/damon/modules-common: implement a damos quota params generator
sjp38 Sep 13, 2022
08661b6
mm/damon/modules-common: implement damos time quota params generator
sjp38 Sep 13, 2022
4e0f464
mm/damon/reclaim: use the quota params generator macro
sjp38 Sep 13, 2022
5476f70
mm/damon/lru_sort: use quotas param generator
sjp38 Sep 13, 2022
39e2236
mm/damon/lru_sort: deduplicate hot/cold schemes generators
sjp38 Sep 13, 2022
9eedb88
mm/damon: simplify the parameter passing for 'prepare_access_checks'
kaixuxiakx Sep 13, 2022
8111887
mm/damon/sysfs: simplify the variable 'pid' assignment operation
kaixuxiakx Sep 13, 2022
033dfe6
mm/damon/core: simplify the kdamond stop mechanism by removing 'done'
kaixuxiakx Sep 13, 2022
febb651
mm/damon/sysfs: avoid call damon_target_has_pid() repeatedly
Sep 15, 2022
5301b5d
mm/damon: simplify scheme create in lru_sort.c
Sep 15, 2022
a0a7299
mm/damon: use 'struct damon_target *' instead of 'void *' in target_v…
kaixuxiakx Sep 15, 2022
f11f6c0
mm/damon/reclaim: change damon_reclaim_wmarks to static
Sep 15, 2022
ecedb3e
mm/damon/lru_sort: change damon_lru_sort_wmarks to static
Sep 15, 2022
b28dae4
mm/damon: return void from damon_set_schemes()
kaixuxiakx Sep 16, 2022
9b44c6e
mm/damon: rename damon_pageout_score() to damon_cold_score()
kaixuxiakx Sep 17, 2022
672225b
mm/damon/sysfs: return 'err' value when call kstrtoul() failed
Sep 20, 2022
7f779c4
mm/damon: deduplicate damon_{reclaim,lru_sort}_apply_parameters()
kaixuxiakx Sep 20, 2022
57de028
mm/damon/core: initialize damon_target->list in damon_new_target()
sjp38 Oct 2, 2022
66bcccc
mm/damon: move sz_damon_region to damon_sz_region
Sep 27, 2022
aab5be7
mm/damon: use damon_sz_region() in appropriate place
Sep 27, 2022
9d3f2a0
ENA: Update to v2.8.1
paniakin-aws Jan 18, 2023
0ae4493
ENA: Update to v2.8.3
paniakin-aws Feb 10, 2023
0e0bbd2
Add mpi3mr 8.2.1.0.0
luizcap Feb 3, 2023
61a2884
x86/smp: Add a per-cpu view of SMT state
balbir-aws Jan 8, 2021
26bffcd
x86/mm: Refactor cond_ibpb() to support other use cases
balbir-aws Jan 8, 2021
21eb5cd
sched: Add task_work callback for paranoid L1D flush
balbir-aws Apr 26, 2021
72d9cf0
x86/process: Make room for TIF_SPEC_L1D_FLUSH
balbir-aws Apr 26, 2021
2a67b56
x86/mm: Prepare for opt-in based L1D flush in switch_mm()
balbir-aws Apr 26, 2021
2965bb9
x86, prctl: Hook L1D flushing in via prctl
balbir-aws Jan 8, 2021
65cf13e
Documentation: Add L1D flushing Documentation
balbir-aws Jan 8, 2021
23290ed
add L1D software flush interface
luizcap Jan 10, 2023
56ff809
use L1D software flush interface
luizcap Jan 10, 2023
9045303
mm/damon/core: split out DAMOS-charged region skip logic into a new f…
sjp38 Oct 26, 2022
4f22ce0
mm/damon/core: split damos application logic into a new function
sjp38 Oct 26, 2022
146b566
mm/damon/core: split out scheme stat update logic into a new function
sjp38 Oct 26, 2022
01e5abc
mm/damon/core: split out scheme quota adjustment logic into a new fun…
sjp38 Oct 26, 2022
d9b8935
mm/damon/sysfs: use damon_addr_range for region's start and end values
sjp38 Oct 26, 2022
eb83806
mm/damon/sysfs: remove parameters of damon_sysfs_region_alloc()
sjp38 Oct 26, 2022
1dcc01b
mm/damon/sysfs: move sysfs_lock to common module
sjp38 Oct 26, 2022
47d3e38
mm/damon/sysfs: move unsigned long range directory to common module
sjp38 Oct 26, 2022
4e530c0
mm/damon/sysfs: split out kdamond-independent schemes stats update lo…
sjp38 Oct 26, 2022
7469442
mm/damon/sysfs: split out schemes directory implementation to separat…
sjp38 Oct 26, 2022
79cb059
mm/damon/modules: deduplicate init steps for DAMON context setup
sjp38 Oct 26, 2022
7119884
mm/damon/reclaim: enable and disable synchronously
sjp38 Oct 25, 2022
1724a18
selftests/damon: add tests for DAMON_RECLAIM's enabled parameter
sjp38 Oct 25, 2022
2959949
mm/damon/lru_sort: enable and disable synchronously
sjp38 Oct 25, 2022
af82f6c
selftests/damon: add tests for DAMON_LRU_SORT's enabled parameter
sjp38 Oct 25, 2022
2e95e25
Docs/admin-guide/mm/damon/usage: describe the rules of sysfs region d…
sjp38 Oct 24, 2022
379dc84
Docs/admin-guide/mm/damon/usage: fix wrong usage example of init_regi…
sjp38 Oct 24, 2022
79c3b8f
mm/damon/core: add a callback for scheme target regions check
sjp38 Nov 1, 2022
ec6b582
mm/damon/sysfs-schemes: implement schemes/tried_regions directory
sjp38 Nov 1, 2022
651995f
mm/damon/sysfs-schemes: implement scheme region directory
sjp38 Nov 1, 2022
0bcef18
mm/damon/sysfs: implement DAMOS tried regions update command
sjp38 Nov 1, 2022
265e1f6
mm/damon/sysfs-schemes: implement DAMOS-tried regions clear command
sjp38 Nov 1, 2022
6b7a138
tools/selftets/damon/sysfs: test tried_regions directory existence
sjp38 Nov 1, 2022
e958f09
Docs/admin-guide/mm/damon/usage: document schemes/<s>/tried_regions s…
sjp38 Nov 1, 2022
245ccf8
Docs/ABI/damon: document 'schemes/<s>/tried_regions' sysfs directory
sjp38 Nov 1, 2022
3d822f4
selftests/damon: test non-context inputs to rm_contexts file
sjp38 Nov 7, 2022
95df4ff
selftests/damon: fix unnecessary compilation warnings
Rtoax Nov 13, 2022
448ee43
selftests/damon: test removed scheme sysfs dir access bug
sjp38 Dec 1, 2022
faf8203
nvme: add vectored-io support for user-passthrough
Feb 10, 2022
c791c71
x86/speculation: Identify processors vulnerable to SMT RSB predictions
tlendacky Feb 9, 2023
6ab6423
KVM: x86: Mitigate the cross-thread return address predictions bug
tlendacky Feb 9, 2023
c542bf9
mm/damon/paddr: fix missing folio_put()
QQXanadu Feb 22, 2023
da98252
udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
q2ven Mar 3, 2023
8c2e263
Update out-of-tree smartpqi driver to 2.1.20-035
shaoyingxu Mar 25, 2023
e31a829
perf: Constify static struct attribute_group
rikardfalkeborn Jan 17, 2021
002b7ac
drivers/perf: convert sysfs snprintf family to sysfs_emit
Mar 19, 2021
5c8f6ac
perf/arm-cmn: Use irq_set_affinity()
KAGA-KOKO May 18, 2021
dc3b43c
drivers/perf: arm-cmn: Add space after ','
May 11, 2021
729f996
perf/arm-cmn: Fix CPU hotplug unregistration
rmurphy-arm Dec 3, 2021
cfebfc4
perf/arm-cmn: Account for NUMA affinity
rmurphy-arm Dec 3, 2021
0aa3f59
perf/arm-cmn: Drop compile-test restriction
rmurphy-arm Dec 3, 2021
685800a
perf/arm-cmn: Refactor node ID handling
rmurphy-arm Dec 3, 2021
28353f2
perf/arm-cmn: Streamline node iteration
rmurphy-arm Dec 3, 2021
97a1669
perf/arm-cmn: Refactor DTM handling
rmurphy-arm Dec 3, 2021
318f939
perf/arm-cmn: Optimise DTM counter reads
rmurphy-arm Dec 3, 2021
fcc67d1
perf/arm-cmn: Optimise DTC counter accesses
rmurphy-arm Dec 3, 2021
6615f95
perf/arm-cmn: Move group validation data off-stack
rmurphy-arm Dec 3, 2021
407dfeb
perf/arm-cmn: Demarcate CMN-600 specifics
rmurphy-arm Dec 3, 2021
d443e31
perf/arm-cmn: Support new IP features
rmurphy-arm Dec 3, 2021
795b4e4
perf/arm-cmn: Add CI-700 Support
rmurphy-arm Dec 3, 2021
8cc0bcb
perf/arm-cmn: Add debugfs topology info
rmurphy-arm Dec 3, 2021
da4d526
perf/arm-cmn: Make arm_cmn_debugfs static
rmurphy-arm Feb 3, 2022
5ecd6c1
perf/arm-cmn: Hide XP PUB events for CMN-600
rmurphy-arm Feb 24, 2022
994cb82
perf/arm-cmn: Update watchpoint format
rmurphy-arm Feb 24, 2022
f3343da
perf/arm-cmn: Add CMN-650 support
rmurphy-arm Apr 18, 2022
d651ed5
perf/arm-cmn: Refactor occupancy filter selector
rmurphy-arm Apr 18, 2022
a6e0ea3
perf/arm-cmn: Add CMN-700 support
rmurphy-arm Apr 18, 2022
1d38b3a
perf/arm-cmn: Fix filter_sel lookup
rmurphy-arm May 10, 2022
6e12b02
perf/arm-cmn: Decode CAL devices properly in debugfs
rmurphy-arm May 11, 2022
458d4fe
perf/arm-cmn: Add more bits to child node address offset field
ilkka-koskinen Aug 8, 2022
b4d0a0c
perf/arm-cmn: Reset DTM_PMU_CONFIG at probe
rmurphy-arm Dec 5, 2022
4d267ad
Partially revert "perf/arm-cmn: Optimise DTC counter accesses"
rmurphy-arm Jan 23, 2023
d586b97
Revert "perf/arm-cmn: Use irq_set_affinity()"
luizcap Apr 7, 2023
ca7a7ef
bpf: Fix up bpf_attach_type for sk_reuseport/migrate.
q2ven Apr 17, 2023
4677abf
Revert "module: Don't wait for GOING modules"
shaoyingxu Apr 28, 2023
e0c0aee
intel_idle: add SPR support
dedekind Mar 2, 2022
940af92
intel_idle: add 'preferred_cstates' module argument
dedekind Mar 2, 2022
e5f972b
intel_idle: add core C6 optimization for SPR
dedekind Mar 2, 2022
aedb7f6
intel_idle: Fix the 'preferred_cstates' module parameter
dedekind Apr 27, 2022
8d933f8
intel_idle: Fix SPR C6 optimization
dedekind Apr 27, 2022
b10b88c
intel_idle: make SPR C1 and C1E be independent
dedekind Jul 16, 2022
d182e97
mm/damon/core: implement damos filter
sjp38 Dec 5, 2022
46eb77e
mm/damon/paddr: support DAMOS filters
sjp38 Dec 5, 2022
ac6a663
mm/damon/reclaim: add a parameter called skip_anon for avoiding anony…
sjp38 Dec 5, 2022
501e522
Docs/admin-guide/damon/reclaim: document 'skip_anon' parameter
sjp38 Dec 5, 2022
3c143a4
mm/damon/sysfs-schemes: implement filters directory
sjp38 Dec 5, 2022
8b5eb51
mm/damon/sysfs-schemes: implement filter directory
sjp38 Dec 5, 2022
37afae5
mm/damon/sysfs-schemes: connect filter directory and filters directory
sjp38 Dec 5, 2022
e4c3bf3
mm/damon/sysfs-schemes: implement scheme filters
sjp38 Dec 5, 2022
a6ddac3
selftests/damon/sysfs: test filters directory
sjp38 Dec 5, 2022
efb6bb2
Docs/admin-guide/mm/damon/usage: document DAMOS filters of sysfs
sjp38 Dec 5, 2022
87934ea
Docs/ABI/damon: document scheme filters files
sjp38 Dec 5, 2022
102afbe
mm/damon/vaddr: record appropriate folio size when the access is not …
sjp38 Jan 9, 2023
f7e9a9f
mm/damon/sysfs-schemes: use strscpy() to instead of strncpy()
Jan 9, 2023
af7822d
Doc/damon: fix the data path error
Jan 28, 2023
7a56295
mm/damon/core: update kernel-doc comments for DAMOS action supports o…
sjp38 Jan 10, 2023
1242f44
mm/damon/core: update kernel-doc comments for DAMOS filters supports …
sjp38 Jan 10, 2023
1223ca5
Docs/mm/damon/index: mention DAMOS on the intro
sjp38 Jan 10, 2023
ff6de44
Docs/admin-guide/mm/damon/usage: update DAMOS actions/filters support…
sjp38 Jan 10, 2023
282280d
Docs/mm/damon: add a maintainer-profile for DAMON
sjp38 Jan 10, 2023
a363c32
selftests/damon/sysfs: hide expected write failures
sjp38 Jan 10, 2023
c94457e
selftests/damon/debugfs_rm_non_contexts: hide expected write error me…
sjp38 Jan 10, 2023
0233127
mm/damon/core: skip apply schemes if empty
yehs1 Jan 16, 2023
6780f21
mm/damon: update comments in damon.h for damon_attrs
sjp38 Jan 19, 2023
3aab581
mm/damon/core: update monitoring results for new monitoring attributes
sjp38 Jan 19, 2023
747f941
mm/damon/core-test: add a test for damon_update_monitoring_results()
sjp38 Jan 19, 2023
809fa16
Docs/admin-guide/mm/damon/usage: add DAMON debugfs interface deprecat…
sjp38 Feb 9, 2023
5201491
mm/damon/Kconfig: add DAMON debugfs interface deprecation notice
sjp38 Feb 9, 2023
b9cc26d
mm/damon/dbgfs: print DAMON debugfs interface deprecation message
sjp38 Feb 9, 2023
26a61af
Update smartpqi driver to latest version.
risbhat May 17, 2023
3b2c8b0
selftests/kselftest/runner/run_one(): allow running non-executable files
sj-aws Nov 9, 2021
e93d9ab
Al2 5.10 Update ena driver to 2.8.6g
akiyano May 17, 2023
a457eb9
tcp: reorder tcp_congestion_ops for better cache locality
Apr 2, 2021
9d2771c
net-tcp_bbr: broaden app-limited rate sample detection
nealcardwell Jun 11, 2019
f2dcb50
net-tcp_rate: consolidate inflight tracking approaches in TCP
yuchungcheng Mar 28, 2018
36d9aad
net-tcp_rate: account for CE marks in rate sample
yuchungcheng Mar 28, 2018
e90d034
net-tcp_bbr: v2: shrink delivered_mstamp, first_tx_mstamp to u32 to f…
nealcardwell Jun 25, 2018
79215ca
net-tcp_bbr: v2: snapshot packets in flight at transmit time and pass…
nealcardwell Aug 5, 2017
709ce1d
net-tcp_bbr: v2: count packets lost over TCP rate sampling interval
nealcardwell Oct 13, 2017
37b6f97
net-tcp_bbr: v2: export FLAG_ECE in rate_sample.is_ece
nealcardwell Nov 19, 2018
4f56eaf
net-tcp_bbr: v2: introduce ca_ops->skb_marked_lost() CC module callba…
nealcardwell Aug 8, 2018
60c3092
net-tcp_bbr: v2: factor out tx.in_flight setting into tcp_set_tx_in_f…
nealcardwell May 8, 2019
5253380
net-tcp_bbr: v2: adjust skb tx.in_flight upon merge in tcp_shifted_skb()
nealcardwell May 2, 2019
6e38f28
net-tcp_bbr: v2: adjust skb tx.in_flight upon split in tcp_fragment()
nealcardwell May 2, 2019
74d5250
net-tcp_bbr: v2: set tx.in_flight for skbs in repair write queue
nealcardwell May 8, 2019
b4e52d6
net-tcp: add new ca opts flag TCP_CONG_WANTS_CE_EVENTS
yousukseung May 24, 2018
b3f4e60
net-tcp: re-generalize TSO sizing in TCP CC module API
nealcardwell Sep 27, 2019
4329705
net-tcp: add fast_ack_mode=1: skip rwin check in tcp_fast_ack_mode__t…
nealcardwell Nov 16, 2019
90d3347
net-tcp_bbr: v2: BBRv2 ("bbr2") congestion control for Linux TCP
nealcardwell Jun 11, 2019
57d4f31
net-tcp_bbr: v2: remove unnecessary rs.delivered_ce logic upon loss
nealcardwell Nov 21, 2019
50fc64c
net-tcp_bbr: v2: remove field bw_rtts that is unused in BBRv2
nealcardwell Aug 17, 2020
f2d4bc7
net-tcp_bbr: v2: remove cycle_rand parameter that is unused in BBRv2
nealcardwell Aug 17, 2020
96c78ac
net-tcp_bbr: v2: don't assume prior_cwnd was set entering CA_Loss
nealcardwell Dec 29, 2020
1f09275
net-tcp_bbr: v2: Fix missing ECT markings on retransmits for BBRv2
Jun 11, 2021
ae02541
net-tcp_bbr: v2: add support for PLB in TCP and BBRv2
mubashirq Jul 20, 2022
d2964f7
net/ipv6: Improve performance of inet6_ehashfn()
stewartsmith Feb 15, 2023
26bf604
mm/damon/core: fix divide error in damon_nr_accesses_to_accesses_bp()
May 27, 2023
27d8e5b
netfilter: nf_tables: drop map element references from preparation phase
ummakynes Jul 5, 2023
eb4d475
Enable ptIOMMU for all supported platforms.
Feb 9, 2023
e4f98cd
ip: Bump default ttl to 127.
q2ven Jul 27, 2023
fb6e1b1
mm/damon/ops-common: atomically test and clear young on ptes and pmds
Jun 2, 2023
d62f961
AL2 5.10 Update ena driver to 2.8.9g
davidarinzon Aug 8, 2023
d079057
Revert "x86/xen: Fix secondary processors' FPU initialization"
hailmo-amzn Aug 15, 2023
1f4994e
Revert "x86/fpu: Move FPU initialization into arch_cpu_finalize_init()"
hailmo-amzn Aug 15, 2023
577b42b
mm/damon/core: initialize damo_filter->list from damos_new_filter()
sjp38 Jul 29, 2023
4fa0da2
fix soft lockup issue when reading empty file
Aug 8, 2023
baec88d
revert log message before create a pull request
vewe-richard Aug 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
346 changes: 346 additions & 0 deletions Documentation/ABI/testing/sysfs-kernel-mm-damon
Original file line number Diff line number Diff line change
@@ -0,0 +1,346 @@
what: /sys/kernel/mm/damon/
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Interface for Data Access MONitoring (DAMON). Contains files
for controlling DAMON. For more details on DAMON itself,
please refer to Documentation/admin-guide/mm/damon/index.rst.

What: /sys/kernel/mm/damon/admin/
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Interface for privileged users of DAMON. Contains files for
controlling DAMON that aimed to be used by privileged users.

What: /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON worker thread (kdamond)
named '0' to 'N-1' under the kdamonds/ directory.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/state
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing 'on' or 'off' to this file makes the kdamond starts or
stops, respectively. Reading the file returns the keywords
based on the current status. Writing 'commit' to this file
makes the kdamond reads the user inputs in the sysfs files
except 'state' again. Writing 'update_schemes_stats' to the
file updates contents of schemes stats files of the kdamond.
Writing 'update_schemes_tried_regions' to the file updates
contents of 'tried_regions' directory of every scheme directory
of this kdamond. Writing 'clear_schemes_tried_regions' to the
file removes contents of the 'tried_regions' directory.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the pid of the kdamond if it is
running.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON context named '0' to
'N-1' under the contexts/ directory.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
Date: Apr 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the available monitoring operations
sets on the currently running kernel.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a keyword for a monitoring operations set ('vaddr' for
virtual address spaces monitoring, 'fvaddr' for fixed virtual
address ranges monitoring, and 'paddr' for the physical address
space monitoring) to this file makes the context to use the
operations set. Reading the file returns the keyword for the
operations set the context is set to use.

Note that only the operations sets that listed in
'avail_operations' file are valid inputs.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the sampling interval of the
DAMON context in microseconds as the value. Reading this file
returns the value.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the aggregation interval of
the DAMON context in microseconds as the value. Reading this
file returns the value.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the update interval of the
DAMON context in microseconds as the value. Reading this file
returns the value.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min

WDate: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the minimum number of
monitoring regions of the DAMON context as the value. Reading
this file returns the value.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a value to this file sets the maximum number of
monitoring regions of the DAMON context as the value. Reading
this file returns the value.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON target of the context
named '0' to 'N-1' under the contexts/ directory.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/pid_target
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the pid of
the target process if the context is for virtual address spaces
monitoring, respectively.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/nr_regions
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for setting each DAMON target memory region of the
context named '0' to 'N-1' under the regions/ directory. In
case of the virtual address space monitoring, DAMON
automatically sets the target memory region based on the target
processes' mappings.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/start
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the start
address of the monitoring region.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/end
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the end
address of the monitoring region.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for controlling each DAMON-based operation scheme
of the context named '0' to 'N-1' under the schemes/ directory.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the action
of the scheme.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the mimimum
size of the scheme's target regions in bytes.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the maximum
size of the scheme's target regions in bytes.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/min
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the manimum
'nr_accesses' of the scheme's target regions.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the maximum
'nr_accesses' of the scheme's target regions.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the minimum
'age' of the scheme's target regions.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the maximum
'age' of the scheme's target regions.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the time
quota of the scheme in milliseconds.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the size
quota of the scheme in bytes.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the quotas
charge reset interval of the scheme in milliseconds.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the
under-quota limit regions prioritization weight for 'size' in
permil.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_permil
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the
under-quota limit regions prioritization weight for
'nr_accesses' in permil.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the
under-quota limit regions prioritization weight for 'age' in
permil.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/metric
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the metric
of the watermarks for the scheme. The writable/readable
keywords for this file are 'none' for disabling the watermarks
feature, or 'free_mem_rate' for the system's global free memory
rate in permil.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/interval_us
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the metric
check interval of the watermarks for the scheme in
microseconds.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/high
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the high
watermark of the scheme in permil.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/mid
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the mid
watermark of the scheme in permil.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/low
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the low
watermark of the scheme in permil.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/nr_filters
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: Writing a number 'N' to this file creates the number of
directories for setting filters of the scheme named '0' to
'N-1' under the filters/ directory.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/type
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: Writing to and reading from this file sets and gets the type of
the memory of the interest. 'anon' for anonymous pages, or
'memcg' for specific memory cgroup can be written and read.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: If 'memcg' is written to the 'type' file, writing to and
reading from this file sets and gets the path to the memory
cgroup of the interest.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching
Date: Dec 2022
Contact: SeongJae Park <[email protected]>
Description: Writing 'Y' or 'N' to this file sets whether to filter out
pages that do or do not match to the 'type' and 'memcg_path',
respectively. Filter out means the action of the scheme will
not be applied to.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_tried
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the number of regions that the action
of the scheme has tried to be applied.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_tried
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the total size of regions that the
action of the scheme has tried to be applied in bytes.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_applied
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the number of regions that the action
of the scheme has successfully applied.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_applied
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the total size of regions that the
action of the scheme has successfully applied in bytes.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/qt_exceeds
Date: Mar 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the number of the exceed events of
the scheme's quotas.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/start
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the start address of a memory region
that corresponding DAMON-based Operation Scheme's action has
tried to be applied.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/end
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the end address of a memory region
that corresponding DAMON-based Operation Scheme's action has
tried to be applied.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/nr_accesses
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the 'nr_accesses' of a memory region
that corresponding DAMON-based Operation Scheme's action has
tried to be applied.

What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age
Date: Oct 2022
Contact: SeongJae Park <[email protected]>
Description: Reading this file returns the 'age' of a memory region that
corresponding DAMON-based Operation Scheme's action has tried
to be applied.
1 change: 1 addition & 0 deletions Documentation/admin-guide/hw-vuln/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ are configurable at compile, boot or run time.
tsx_async_abort
multihit.rst
special-register-buffer-data-sampling.rst
l1d_flush.rst
processor_mmio_stale_data.rst
gather_data_sampling.rst
srso
Loading