From: Cyril Hrubis <chrubis@suse.cz>
To: Zhao Gongyi <zhaogongyi@huawei.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2 2/3] syscalls/madvise04: new test for madvise(MADV_DONTNEED)
Date: Tue, 11 Oct 2022 16:29:29 +0200 [thread overview]
Message-ID: <Y0V9yZfYbu97qEbZ@yuki> (raw)
In-Reply-To: <20221011121607.55575-3-zhaogongyi@huawei.com>
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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2022-10-11 14:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 12:16 [LTP] [PATCH v2 0/3] new test for madvise(MADV_DONTNEED) Zhao Gongyi via ltp
2022-10-11 12:16 ` [LTP] [PATCH v2 1/3] syscalls/madvise03: " Zhao Gongyi via ltp
2022-10-11 14:25 ` Cyril Hrubis
2022-10-11 12:16 ` [LTP] [PATCH v2 2/3] syscalls/madvise04: " Zhao Gongyi via ltp
2022-10-11 14:29 ` Cyril Hrubis [this message]
2022-10-11 12:16 ` [LTP] [PATCH v2 3/3] syscalls/madvise11: " Zhao Gongyi via ltp
2022-10-12 8:52 ` Cyril Hrubis
-- strict thread matches above, loose matches on Subject: below --
2022-10-12 2:19 [LTP] [PATCH v2 2/3] syscalls/madvise04: " zhaogongyi via ltp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y0V9yZfYbu97qEbZ@yuki \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=zhaogongyi@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox