Messages in this thread | | | Date | Mon, 19 Sep 2022 15:09:32 -0700 | From | Mike Kravetz <> | Subject | Re: [PATCH v3 1/6] mm/hugetlb: add folio support to hugetlb specific flag macros |
| |
On 09/08/22 12:37, Sidhartha Kumar wrote: > Allows the macros which test, set, and clear hugetlb specific page > flags to take a hugetlb folio as an input. The marcros are generated as > folio_{test, set, clear}_hugetlb_{restore_reserve, migratable, > temporary, freed, vmemmap_optimized, raw_hwp_unreliable}. > > Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> > --- > include/linux/hugetlb.h | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+)
I wish there was more usage of these new macros. The only usage is a folio_test_hugetlb_restore_reserve() call in patch 5. Usage will expand as more code is converted.
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> -- Mike Kravetz
| |