<div dir="ltr">Hello,<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
> + if (tst_kvercmp(3, 9, 0) < 0)<br>
> + tst_brkm(TCONF, NULL, "madvise(MADV_WILLNEED) swap file"<br>
> + "prefetch available only since 3.9");<br>
> +<br></div></div></blockquote></div></div></div></div></div></blockquote><div> </div></div>I take use of these lines since I misunderstood that 'MASV_WILLNEED' is involved since 3.9 kernel when I took a look at madvise05.c. But after reading the MADVISE(2) in Linux Programmer's Manual, I realized that I was wrong.<br><br></div><div class="gmail_extra">Then I tried this madvise06 testcase on both 2.6.18 and 2.6.32 kernel, it also works well. So I decide to remove the lines in Patch V3.<br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Regards,<br></div>Li Wang<br></div><div>Email: <a href="mailto:liwang@redhat.com" target="_blank">liwang@redhat.com</a><br></div></div></div></div></div></div>
</div></div></div></div></div>