]> git.baikalelectronics.ru Git - kernel.git/commit
mm: vmscan: fix documentation for page_check_references()
authorCharan Teja Kalla <quic_charante@quicinc.com>
Tue, 22 Mar 2022 21:45:53 +0000 (14:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:09 +0000 (15:57 -0700)
commit0cb3dddb0753c29150aa6383db9f678caa1d7f94
tree234e07acfb857a905d19efb691c09ecbf2cce487
parentec24b3c4e09c136f6b4d21c84a6bbfe7194ef286
mm: vmscan: fix documentation for page_check_references()

Commit b6df587f15fc ("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.

Link: https://lkml.kernel.org/r/1646925640-21324-1-git-send-email-quic_charante@quicinc.com
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c