> On Jun 2, 2023, at 09:54, Peng Zhang <zhangpeng362@xxxxxxxxxx> wrote: > > From: ZhangPeng <zhangpeng362@xxxxxxxxxx> > > 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@xxxxxxxxxxxxx> > Signed-off-by: ZhangPeng <zhangpeng362@xxxxxxxxxx> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx> Thanks.