[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43FA897B-ABFC-4C52-8DFD-8BAF992BD0D4@nvidia.com>
Date: Wed, 21 Jul 2021 17:21:20 -0400
From: Zi Yan <ziy@...dia.com>
To: Huang Ying <ying.huang@...el.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Keith Busch <kbusch@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Yang Shi <shy828301@...il.com>, Michal Hocko <mhocko@...e.com>,
Wei Xu <weixugc@...gle.com>,
David Rientjes <rientjes@...gle.com>,
Dan Williams <dan.j.williams@...el.com>,
David Hildenbrand <david@...hat.com>,
Greg Thelen <gthelen@...gle.com>,
Oscar Salvador <osalvador@...e.de>,
Yang Shi <yang.shi@...ux.alibaba.com>
Subject: Re: [PATCH -V11 7/9] mm/vmscan: Consider anonymous pages without swap
On 21 Jul 2021, at 2:39, Huang Ying wrote:
> From: Keith Busch <kbusch@...nel.org>
>
> Reclaim anonymous pages if a migration path is available now that demotion
> provides a non-swap recourse for reclaiming anon pages.
>
> Note that this check is subtly different from the can_age_anon_pages()
> checks. This mechanism checks whether a specific page in a specific
> context can actually be reclaimed, given current swap space and cgroup
> limits.
>
> can_age_anon_pages() is a much simpler and more preliminary check which
> just says whether there is a possibility of future reclaim.
>
> Link: https://lkml.kernel.org/r/20210715055145.195411-8-ying.huang@intel.com
> Cc: Keith Busch <kbusch@...nel.org>
> Signed-off-by: Dave Hansen <dave.hansen@...ux.intel.com>
> Signed-off-by: "Huang, Ying" <ying.huang@...el.com>
> Reviewed-by: Yang Shi <shy828301@...il.com>
> Cc: Michal Hocko <mhocko@...e.com>
> Cc: Zi Yan <ziy@...dia.com>
> Cc: Wei Xu <weixugc@...gle.com>
> Cc: David Rientjes <rientjes@...gle.com>
> Cc: Dan Williams <dan.j.williams@...el.com>
> Cc: David Hildenbrand <david@...hat.com>
> Cc: Greg Thelen <gthelen@...gle.com>
> Cc: Oscar Salvador <osalvador@...e.de>
> Cc: Yang Shi <yang.shi@...ux.alibaba.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
> mm/vmscan.c | 34 ++++++++++++++++++++++++++++++----
> 1 file changed, 30 insertions(+), 4 deletions(-)
LGTM. Reviewed-by: Zi Yan <ziy@...dia.com>
—
Best Regards,
Yan, Zi
Download attachment "signature.asc" of type "application/pgp-signature" (855 bytes)
Powered by blists - more mailing lists