mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Convert several functions in hugetlb.c to use a folio
@ 2023-06-06  6:20 Peng Zhang
  2023-06-06  6:20 ` [PATCH v2 1/3] mm/hugetlb: Use a folio in copy_hugetlb_page_range() Peng Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Peng Zhang @ 2023-06-06  6:20 UTC (permalink / raw)
  To: linux-mm, linux-kernel, akpm, willy, mike.kravetz, muchun.song,
	sidhartha.kumar
  Cc: vishal.moola, wangkefeng.wang, sunnanyong, ZhangPeng

From: ZhangPeng <zhangpeng362@huawei.com>

This patch series converts three functions in hugetlb.c to use a folio,
which can remove several implicit calls to compound_head().

Change log:
v2:
- Remove ptepage in copy_hugetlb_page_range() and old_page in
  hugetlb_wp(), suggested by Matthew Wilcox and Mike Kravetz. (Patch 1-2)
- Add RB from Muchun Song and Sidhartha Kumar. (Patch 1-2)
- Add a new patch to use a folio in hugetlb_fault(). (Patch 3)

ZhangPeng (3):
  mm/hugetlb: Use a folio in copy_hugetlb_page_range()
  mm/hugetlb: Use a folio in hugetlb_wp()
  mm/hugetlb: Use a folio in hugetlb_fault()

 mm/hugetlb.c | 72 ++++++++++++++++++++++++++--------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-07  4:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06  6:20 [PATCH v2 0/3] Convert several functions in hugetlb.c to use a folio Peng Zhang
2023-06-06  6:20 ` [PATCH v2 1/3] mm/hugetlb: Use a folio in copy_hugetlb_page_range() Peng Zhang
2023-06-06 17:46   ` Matthew Wilcox
2023-06-06  6:20 ` [PATCH v2 2/3] mm/hugetlb: Use a folio in hugetlb_wp() Peng Zhang
2023-06-06 17:50   ` Matthew Wilcox
2023-06-06  6:20 ` [PATCH v2 3/3] mm/hugetlb: Use a folio in hugetlb_fault() Peng Zhang
2023-06-06 17:28   ` Sidhartha Kumar
2023-06-06 17:56   ` Matthew Wilcox
2023-06-07  3:55   ` Muchun Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®