[LTP] [PATCH v2 2/3] syscalls/madvise04: new test for madvise(MADV_DONTNEED)
zhaogongyi
zhaogongyi@huawei.com
Wed Oct 12 04:19:12 CEST 2022
Hi Cyril,
Yes, thanks for your review.
I have resubmit the patch with a new version.
Regards,
Gongyi
> 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