public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: zhaogongyi via ltp <ltp@lists.linux.it>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: "ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v2 2/3] syscalls/madvise04: new test for madvise(MADV_DONTNEED)
Date: Wed, 12 Oct 2022 02:19:12 +0000	[thread overview]
Message-ID: <9301e1a68f3146cf8dfac497e511cd82@huawei.com> (raw)

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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

             reply	other threads:[~2022-10-12  2:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12  2:19 zhaogongyi via ltp [this message]
  -- strict thread matches above, loose matches on Subject: below --
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 2/3] syscalls/madvise04: " Zhao Gongyi via ltp
2022-10-11 14:29   ` Cyril Hrubis

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=9301e1a68f3146cf8dfac497e511cd82@huawei.com \
    --to=ltp@lists.linux.it \
    --cc=chrubis@suse.cz \
    --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