mm/swap: fix for "mm: workingset: age nonresident information alongside anonymous...
commitcb6868832ede5cd73b346ec11cf89814d26ff7c7
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Fri, 26 Jun 2020 03:30:34 +0000 (25 20:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Jun 2020 07:27:38 +0000 (26 00:27 -0700)
tree60caf01631060fd80c1d6c7df25da0a6e82da570
parent31d8fcac00fcf4007f3921edc69ab4dcb3abcd4d
mm/swap: fix for "mm: workingset: age nonresident information alongside anonymous pages"

Non-file-lru page could also be activated in mark_page_accessed() and we
need to count this activation for nonresident_age.

Note that it's better for this patch to be squashed into the patch "mm:
workingset: age nonresident information alongside anonymous pages".

Link: http://lkml.kernel.org/r/1592288204-27734-3-git-send-email-iamjoonsoo.kim@lge.com
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Joonsoo Kim <js1304@gmail.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Rik van Riel <riel@surriel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/swap.c