RFC mm/compaction: honour compact_unevictable_allowed in mlock race and alloc_contig path
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/compaction: skip isolate mlocked folios when compact_unevictable_allowed=0mm/ | +2 | 12 replies | |
| 2/3 | mm/compaction: add per-folio isolation tracepointinclude/ mm/ | +28 | 0 replies | |
| 3/3 | mm/compaction: respect compact_unevictable_allowed in alloc_contig pathinclude/ mm/ mm/ +1 more | +16 | 2 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Sebastian Andrzej Siewior |
|---|---|
| 1/3 | |
| 2/3 | Inspired-by |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/3] mm/compaction: honour compact_unevictable_allowed in mlock race and alloc_contig path
From: Wandun Chen <[email protected]>
vm.compact_unevictable_allowed=0 is meant to keep compaction from touching unevictable folios. In practice there are still two paths where it does not take effect. This series fixes them and adds a tracepoint to make such issues easier to diagnose in the future.
Wandun Chen (3):
mm/compaction: skip isolate mlocked folios when
compact_unevictable_allowed=0
mm/compaction: add per-folio isolation tracepoint mm/compaction: respect compact_unevictable_allowed in alloc_contig
path
include/linux/compaction.h | 6 ++++++ include/trace/events/compaction.h | 26 ++++++++++++++++++++++++++ mm/compaction.c | 14 +++++++++++--- mm/internal.h | 1 + mm/page_alloc.c | 2 ++ 5 files changed, 46 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0