[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <4D9E2D77-1A94-4A55-843F-C26142666479@linux.dev>
Date: Fri, 2 Jun 2023 11:14:46 +0800
From: Muchun Song <muchun.song@...ux.dev>
To: Peng Zhang <zhangpeng362@...wei.com>
Cc: Linux Memory Management List <linux-mm@...ck.org>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox <willy@...radead.org>, mike.kravetz@...cle.com,
sidhartha.kumar@...cle.com, vishal.moola@...il.com,
wangkefeng.wang@...wei.com, sunnanyong@...wei.com
Subject: Re: [PATCH 1/2] mm/hugetlb: Use a folio in copy_hugetlb_page_range()
> On Jun 2, 2023, at 09:54, Peng Zhang <zhangpeng362@...wei.com> wrote:
>
> From: ZhangPeng <zhangpeng362@...wei.com>
>
> We can replace five implict calls to compound_head() with one by using
> pte_folio. However, we still need to keep ptepage because we need to know
> which page in the folio we are copying.
>
> Suggested-by: Matthew Wilcox (Oracle) <willy@...radead.org>
> Signed-off-by: ZhangPeng <zhangpeng362@...wei.com>
Reviewed-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists