check MGLRU promoted without hold page lock
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tracing: mm: multigen-lru: fix mglru traceinclude/ include/ mm/ | +26 | 0 replies | |
| 2/2 | mm: multi-gen LRU: move promoted folio out of lockinclude/ include/ mm/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] check MGLRU promoted without hold page lock
This patchset add a new reclaim_stat named nr_promote to observe number folios which MGLRU promoted before shrink touch, and then show in mm_vmscan_lru_shrink_inactive. Also, fix nr_scanned in MGLRU trace into nr_taken. (patch1)
Base this trace, here are many folio promoted before shrink touch, so, due to the high frequence, move this check before hold page lock is better.(patch2)
Due to we will not actually touch this folio, nr_promote trace is unnecessary, remove this trace.
This patchset based on link:
https://lore.kernel.org/all/[email protected]/
Which have many mistake pointed by Yu Zhao.(thanks)
Huan Yang (2):
tracing: mm: multigen-lru: fix mglru trace
mm: multi-gen LRU: move promoted folio out of lock
include/trace/events/vmscan.h | 3 ++- mm/vmscan.c | 31 ++++++++++++++++++++++--------- 2 files changed, 24 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.1