syscalls/madvise04: new test for madvise(MADV_DONTNEED)
Hi Cyril,
Yes, thanks for your review.
I have resubmit the patch with a new version.
Regards,
Gongyi
Quoted 15 lines
Hi!
TheMADV_DONTNEEDhas been implemented for hugepages since:commit
90e7e7f5ef3f712da992d505aee2d921797c3f96Author: Mike Kravetz <[email protected]> Date: Thu Mar 24 18:13:18 2022 -0700mm: enable
MADV_DONTNEEDfor hugetlb mappingsSo for newer kernels this actually works fine. I guess that we should change the test to expect the call to pass for v5.18 and newer.
--
Cyril Hrubis
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp