[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <91830203-bc04-a583-ecfb-41da29ac0aad@huawei.com>
Date: Thu, 16 Mar 2023 11:53:59 +0800
From: "zhangpeng (AS)" <zhangpeng362@...wei.com>
To: Mike Kravetz <mike.kravetz@...cle.com>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<willy@...radead.org>, <akpm@...ux-foundation.org>,
<vishal.moola@...il.com>, <sidhartha.kumar@...cle.com>,
<wangkefeng.wang@...wei.com>, <sunnanyong@...wei.com>
Subject: Re: [PATCH v2 2/3] userfaultfd: convert __mcopy_atomic_hugetlb() to
use a folio
On 2023/3/16 3:53, Mike Kravetz wrote:
> On 03/14/23 13:13, Peng Zhang wrote:
>> From: ZhangPeng <zhangpeng362@...wei.com>
>>
>> Change copy_huge_page_from_user() to copy_folio_from_user().
> Any reason why you did not change copy_user_huge_page to folios as
> well? All callers are passing &folio->page.
>
> Just my opinion, but it might be better/easier to review if the copy
> routines were done in a separate patch. There is a little more than
> folio conversion happening there.
Thanks for your review.
I will change copy_user_huge_page to folios and split this patch in a
v3 of this patch series.
Thanks,
Peng.
Powered by blists - more mailing lists