RFC mm/damon: misc improvements/cleanups for core, vaddr, sysfs and tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest6 patches 3 repliesIn review
- v1 RFC6 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mm/damon/vaddr: advance migration attempt in folio level for filter outmm/ | +2 | 0 replies | |
| 2/6 | mm/damon/vaddr: use damos->last_applied for migrate actionmm/ | +10 | 1 reply | |
| 3/6 | mm/damon/vaddr: implement sz_filter_passed for migrate_{hot,cold} actionmm/ | +5 | 1 reply | |
| 4/6 | mm/damon/sysfs-schemes: drop redundant and racy zero target_value checkmm/ | +0 | 0 replies | |
| 5/6 | selftests/damon/damos_apply_interval: remove unused variablestools/ | +0 | 0 replies | |
| 6/6 | selftests/damon: remove unused imports of os and sys modulestools/ tools/ | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/6] mm/damon: misc improvements/cleanups for core, vaddr, sysfs and tests
Refactor code, optimize code speed, and add missing feature supports on various areas of DAMON.
Optimize the efficiency of vaddr damos_migrate action under filter failures with patch 1. Use damos->last_applied on damos_migrate action in vaddr and support sz_filter_passed for damos_migrate action in vaddr, respectively with patch 2 and 3. Drop a redundant and racy quota goal target value validation in sysfs, in favor of that in the core layer, with patch 4. Drop unused variables and imports from selftests with patch 5 and 6.
Changes from RFC
- RFC: https://lore.kernel.org/[email protected]
- Drop charge_target_from fixup consolidation.
- Add a patch for using last_applied on vaddr migrate action.
- Add missed damos_va_migrate_private->sz_filter_passed setup.
- Fix wrong commit message for unused imports removal.
SJ Park (6):
mm/damon/vaddr: advance migration attempt in folio level for filter
out
mm/damon/vaddr: use damos->last_applied for migrate action mm/damon/vaddr: implement sz_filter_passed for migrate_{hot,cold}
action
mm/damon/sysfs-schemes: drop redundant and racy zero target_value
check
selftests/damon/damos_apply_interval: remove unused variables selftests/damon: remove unused imports of os and sys modules
mm/damon/sysfs-schemes.c | 3 -- mm/damon/vaddr.c | 28 +++++++++++-------- .../selftests/damon/damos_apply_interval.py | 2 -- .../damon/sysfs_no_op_commit_break.py | 1 - ...sysfs_update_schemes_tried_regions_hang.py | 1 - 5 files changed, 17 insertions(+), 18 deletions(-)
base-commit: 807c0ce92f8424fbb7eb13e7ea48746f68b24dca
Signature · 1 line
2.47.3