]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/vmscan: make the annotations of refaults code at the right place
authorYang Yang <yang.yang29@zte.com.cn>
Sat, 13 Aug 2022 08:07:58 +0000 (08:07 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 22 Aug 2022 22:58:01 +0000 (15:58 -0700)
commit2b8c26a168e87c6a7f81a978dd0372ecaeef7373
tree283224019d40c1d953d0a4b5cf7af78d4bd463b7
parent9f847bc6859a7f5ad297a611387257ecc1ca61c2
mm/vmscan: make the annotations of refaults code at the right place

After patch "mm/workingset: prepare the workingset detection
infrastructure for anon LRU", we can handle the refaults of anonymous
pages too.  So the annotations of refaults should cover both of anonymous
pages and file pages.

Link: https://lkml.kernel.org/r/20220813080757.59131-1-yang.yang29@zte.com.cn
Fixes: 170b04b7ae4963 ("mm/workingset: prepare the workingset detection infrastructure for anon LRU")
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c