[LTP] [PATCH v2 2/3] syscalls/madvise04: new test for madvise(MADV_DONTNEED)
Cyril Hrubis
chrubis@suse.cz
Tue Oct 11 16:29:29 CEST 2022
Hi!
The MADV_DONTNEED has been implemented for hugepages since:
commit 90e7e7f5ef3f712da992d505aee2d921797c3f96
Author: Mike Kravetz <mike.kravetz@oracle.com>
Date: Thu Mar 24 18:13:18 2022 -0700
mm: enable MADV_DONTNEED for hugetlb mappings
So 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
chrubis@suse.cz
More information about the ltp
mailing list