[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yo4uM6sP7Cpx722V@FVFYT0MHHV2J.googleapis.com>
Date: Wed, 25 May 2022 21:25:07 +0800
From: Muchun Song <songmuchun@...edance.com>
To: Baolin Wang <baolin.wang@...ux.alibaba.com>
Cc: mike.kravetz@...cle.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] mm/hugetlb: Remove unnecessary
huge_ptep_set_access_flags() in hugetlb_mcopy_atomic_pte()
On Wed, May 25, 2022 at 06:26:24PM +0800, Baolin Wang wrote:
> There is no need to update the hugetlb access flags after just setting the
> hugetlb page table entry by set_huge_pte_at(), since the page table entry
> value has no changes. Thus remove the unnecessary huge_ptep_set_access_flags()
> in hugetlb_mcopy_atomic_pte().
>
> Signed-off-by: Baolin Wang <baolin.wang@...ux.alibaba.com>
Reviewed-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists