On 10/14/26 11:27 PM, Gregory Price (Meta) wrote: > Neither hint may be applied to hugetlb memory, so madvise(2) must fail > with EINVAL for a hugetlb VMA. Locked VMAs are already checked here and > PFNMAP VMAs by the pfnmap test. > > Check the hugetlb case for both hints. > > Signed-off-by: Gregory Price (Meta) <[email protected]> > --- > tools/testing/selftests/mm/madvise.c | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) Looks good to me. Reviewed-by: Sarthak Sharma <[email protected]>
- Re: [PATCH 7/8] selftests/mm: check MADV_PAG... Gregory Price
- Re: [PATCH 7/8] selftests/mm: check MADV... Sarthak Sharma
- [PATCH 5/8] selftests/mm: check that MADV_COLD and MA... Gregory Price (Meta)
- Re: [PATCH 5/8] selftests/mm: check that MADV_CO... Sarthak Sharma
- [PATCH 8/8] selftests/mm: check that unauthorized MAD... Gregory Price (Meta)
- Re: [PATCH 8/8] selftests/mm: check that unautho... Gregory Price
- Re: [PATCH 8/8] selftests/mm: check that unautho... Sarthak Sharma
- [PATCH 2/8] selftests/mm: check that MADV_PAGEOUT ski... Gregory Price (Meta)
- Re: [PATCH 2/8] selftests/mm: check that MADV_PA... Sarthak Sharma
- [PATCH 4/8] selftests/mm: check that MADV_COLD and MA... Gregory Price (Meta)
- Re: [PATCH 4/8] selftests/mm: check that MADV_CO... Sarthak Sharma

