Re: [PATCH] filemap: Make the accounting of thrashing more consistent

From: Joonsoo Kim
Date: Wed Sep 14 2022 - 10:36:55 EST


2022년 8월 5일 (금) 오후 12:39, <cgel.zte@xxxxxxxxx>님이 작성:
>
> From: Yang Yang <yang.yang29@xxxxxxxxxx>
>
> Once upon a time, we only support accounting thrashing of page cache.
> Then Joonsoo introduced workingset detection for anonymous pages and
> we gained the ability to account thrashing of them[1].
>
> So let delayacct account both the thrashing of page cache and anonymous
> pages, this could make the codes more consistent and simpler.
>
> [1] commit aae466b0052e ("mm/swap: implement workingset detection for anonymous LRU")
>
> Signed-off-by: Yang Yang <yang.yang29@xxxxxxxxxx>
> Signed-off-by: CGEL ZTE <cgel.zte@xxxxxxxxx>

Acked-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>