RFC mm/damon: fix nr_snapshots semantics and max_nr_snapshots check coverage
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/damon: fix nr_snapshots counting using tried_applied flaginclude/ mm/ | +6 | 1 reply | |
| 2/2 | mm/damon: skip deactivated schemes in watermark checks and add fallback sleepmm/ | +22 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] mm/damon: fix nr_snapshots semantics and max_nr_snapshots check coverage
Both patches address the DAMOS nr_snapshots/max_nr_snapshots deactivation mechanism.
- Patch 1: fixes the nr_snapshots counting semantics.
- Patch 2: unifies deactivation checks to prevent busy-loop.
Note: Patch 1 should be applied before Patch 2, as damos_is_deactivated() relies on correct nr_snapshots counting.
Liew Rui Yan (2):
mm/damon: fix nr_snapshots counting using tried_applied flag mm/damon: skip deactivated schemes in watermark checks and add
fallback sleep
include/linux/damon.h | 2 ++ mm/damon/core.c | 42 ++++++++++++++++++++++++++---------------- 2 files changed, 28 insertions(+), 16 deletions(-)
Signature · 1 line
2.55.0