Messages in this thread | | | From | Zi Yan <> | Subject | Re: [PATCH 1/3] mm: use nth_page() in place of direct struct page manipulation. | Date | Thu, 31 Aug 2023 11:37:56 -0400 |
| |
On 31 Aug 2023, at 3:14, Muchun Song wrote:
>> On Aug 31, 2023, at 02:27, Zi Yan <zi.yan@sent.com> wrote: >> >> From: Zi Yan <ziy@nvidia.com> >> >> When dealing with hugetlb pages, manipulating struct page pointers >> directly can get to wrong struct page, since 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@nvidia.com> > > Reviewed-by: Muchun Song <songmuchun@bytedance.com> > > Maybe 3 separate patches would be better for backporting purpose. Sure. Will split it and add Fixes in the next version.
-- Best Regards, Yan, Zi [unhandled content-type:application/pgp-signature] | |