lkml.org 
[lkml]   [2023]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[v2 0/1] mm: hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functions
Date
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.

[v1->v2]:
- (Muchun Song) add _folio suffix to (__)hugetlb_vmemmap_optimize/hugetlb_vmemmap_restore
functions.

Usama Arif (1):
hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functions

mm/hugetlb.c | 14 ++++++-------
mm/hugetlb_vmemmap.c | 50 +++++++++++++++++++++++---------------------
mm/hugetlb_vmemmap.h | 8 +++----
3 files changed, 37 insertions(+), 35 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2023-10-11 16:47    [W:3.247 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site