[0/1] mm: hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functions

Message ID 20231009151830.2248885-1-usama.arif@bytedance.com
Headers
Series mm: hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functions |

Message

Usama Arif Oct. 9, 2023, 3:18 p.m. UTC
  Most function calls in hugetlb.c are made with folio arguments.
This brings hugetlb_vmemmap calls inline with them by using folio
instead of head struct page. Head struct page is still needed
within these functions.

This patch is on top of the patch
"hugetlb: batch TLB flushes when restoring vmemmap" to avoid merge conflicts.
 
Usama Arif (1):
  hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functions

 mm/hugetlb.c         | 10 +++++-----
 mm/hugetlb_vmemmap.c | 42 ++++++++++++++++++++++--------------------
 mm/hugetlb_vmemmap.h |  8 ++++----
 3 files changed, 31 insertions(+), 29 deletions(-)