Re: [PATCH 2/3] use nth_page() in place of direct struct page manipulation.
From: Zi Yan
Date: Thu Aug 31 2023 - 11:37:33 EST
On 31 Aug 2023, at 3:17, Muchun Song wrote:
>> On Aug 31, 2023, at 02:27, Zi Yan <zi.yan@xxxxxxxx> wrote:
>>
>> From: Zi Yan <ziy@xxxxxxxxxx>
>>
>> When dealing with hugetlb pages, struct page is not guaranteed to be
>> contiguous on SPARSEMEM without VMEMMAP. Use nth_page() to handle it
>> properly.
>>
>> Signed-off-by: Zi Yan <ziy@xxxxxxxxxx <mailto:ziy@xxxxxxxxxx>>
>
> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
>
> It's better to add a Fixes tag to the commit 38c1ddbde6.
Thanks. Will add it in the next version.
--
Best Regards,
Yan, Zi
Attachment:
signature.asc
Description: OpenPGP digital signature