Messages in this thread | | | Subject | Re: [PATCH 1/2] mm/hugetlb: Use a folio in copy_hugetlb_page_range() | From | Muchun Song <> | Date | Fri, 2 Jun 2023 11:14:46 +0800 |
| |
> On Jun 2, 2023, at 09:54, Peng Zhang <zhangpeng362@huawei.com> wrote: > > From: ZhangPeng <zhangpeng362@huawei.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@infradead.org> > Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Thanks.
| |