* [PATCH] mm: vmscan: fix documentation for page_check_references()
@ 2022-03-10 15:20 Charan Teja Kalla
0 siblings, 0 replies; only message in thread
From: Charan Teja Kalla @ 2022-03-10 15:20 UTC (permalink / raw)
To: akpm, iamjoonsoo.kim, mhocko
Cc: linux-mm, linux-kernel, trivial, Charan Teja Kalla
The commit b518154e59aa ("mm/vmscan: protect the workingset on anonymous
LRU") requires to look twice for both mapped anon/file pages are used
more than once to take the decission of reclaim or activation. Correct
the documentation accordingly.
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
---
mm/vmscan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 59b14e0..aab6f6e 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1398,7 +1398,7 @@ static enum page_references page_check_references(struct page *page,
/*
* All mapped pages start out with page table
* references from the instantiating fault, so we need
- * to look twice if a mapped file page is used more
+ * to look twice if a mapped file/anon page is used more
* than once.
*
* Mark it and spare it for another trip around the
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-10 15:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 15:20 [PATCH] mm: vmscan: fix documentation for page_check_references() Charan Teja Kalla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox