[RFC] mm: Multi-gen LRU: fix use of mm/page_idle/bitmap

From: 黄靖(黄靖)
Date: Thu Nov 23 2023 - 02:00:50 EST


When Multi-Gen LRU is enabled, we can't use /sys/kernel/mm/page_idle/bitmap
to track memory which is actually been used.
Unfortunately we didn't find anyone report this problem, or it just
by design ?
Detail information, how-to-reproduct and our way to fix are written in our
fix patch.

Henry Huang (1):
mm: Multi-Gen LRU: fix use mm/page_idle/bitmap

mm/swap.c | 3 +++
mm/vmscan.c | 37 ++++++++++++++++++++++++++-----------
2 files changed, 29 insertions(+), 11 deletions(-)

--
2.43.0