[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h6buzele.fsf@yhuang6-desk2.ccr.corp.intel.com>
Date: Fri, 09 Aug 2024 09:09:49 +0800
From: "Huang, Ying" <ying.huang@...el.com>
To: Zi Yan <ziy@...dia.com>
Cc: <linux-mm@...ck.org>, Andrew Morton <akpm@...ux-foundation.org>, David
Hildenbrand <david@...hat.com>, Baolin Wang
<baolin.wang@...ux.alibaba.com>, Kefeng Wang
<wangkefeng.wang@...wei.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] mm/migrate: move common code to numa_migrate_check
(was numa_migrate_prep)
Zi Yan <ziy@...dia.com> writes:
> do_numa_page() and do_huge_pmd_numa_page() share a lot of common code. To
> reduce redundancy, move common code to numa_migrate_prep() and rename
> the function to numa_migrate_check() to reflect its functionality.
>
> Now do_huge_pmd_numa_page() also checks shared folios to set TNF_SHARED
> flag.
>
> Suggested-by: David Hildenbrand <david@...hat.com>
> Signed-off-by: Zi Yan <ziy@...dia.com>
LGTM, Thanks!
Reviewed-by: "Huang, Ying" <ying.huang@...el.com>
[snip]
Powered by blists - more mailing lists