Re: [PATCH for v5.8 2/3] mm/swap: fix for "mm: workingset: age nonresident information alongside anonymous pages"

From: Johannes Weiner
Date: Tue Jun 16 2020 - 10:49:18 EST


On Tue, Jun 16, 2020 at 03:16:43PM +0900, js1304@xxxxxxxxx wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
>
> Non-file-lru page could also be activated in mark_page_accessed()
> and we need to count this activation for nonresident_age.

Good catch. Shmem pages use mark_page_accessed().

> Note that it's better for this patch to be squashed into the patch
> "mm: workingset: age nonresident information alongside anonymous pages".
>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>