* + mm-swap-fix-for-mm-workingset-age-nonresident-information-alongside-anonymous-pages.patch added to -mm tree
@ 2020-06-16 18:38 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-06-16 18:38 UTC (permalink / raw)
To: mm-commits, riel, minchan.kim, mhocko, js1304, hannes, iamjoonsoo.kim
The patch titled
Subject: mm/swap: fix for "mm: workingset: age nonresident information alongside anonymous pages"
has been added to the -mm tree. Its filename is
mm-swap-fix-for-mm-workingset-age-nonresident-information-alongside-anonymous-pages.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-swap-fix-for-mm-workingset-age-nonresident-information-alongside-anonymous-pages.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-swap-fix-for-mm-workingset-age-nonresident-information-alongside-anonymous-pages.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Subject: 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>
---
mm/swap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/mm/swap.c~mm-swap-fix-for-mm-workingset-age-nonresident-information-alongside-anonymous-pages
+++ a/mm/swap.c
@@ -443,8 +443,7 @@ void mark_page_accessed(struct page *pag
else
__lru_cache_activate_page(page);
ClearPageReferenced(page);
- if (page_is_file_lru(page))
- workingset_activation(page);
+ workingset_activation(page);
}
if (page_is_idle(page))
clear_page_idle(page);
_
Patches currently in -mm which might be from iamjoonsoo.kim@lge.com are
mm-swap-fix-for-mm-workingset-age-nonresident-information-alongside-anonymous-pages.patch
mm-memory-fix-io-cost-for-anonymous-page.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-16 18:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 18:38 + mm-swap-fix-for-mm-workingset-age-nonresident-information-alongside-anonymous-pages.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).