From: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
To: mtk.manpages@gmail.com
Cc: linux-man@vger.kernel.org, linux-mm@kvack.org
Subject: [PATCH manpages] madvise.2: MADV_FREE conflicts with mlock, MADV_WIPEONFORK works with anon HugeTLB
Date: Tue, 09 Oct 2018 09:57:52 +0300 [thread overview]
Message-ID: <153906827290.150228.5223641064732995626.stgit@buzz> (raw)
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
---
man2/madvise.2 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/man2/madvise.2 b/man2/madvise.2
index c3b894d8a6f7..f0b0a43609da 100644
--- a/man2/madvise.2
+++ b/man2/madvise.2
@@ -468,6 +468,7 @@ is not a valid.
.B EINVAL
.I advice
is
+.BR MADV_FREE ,
.B MADV_DONTNEED
or
.BR MADV_REMOVE
@@ -490,7 +491,7 @@ is
.BR MADV_FREE
or
.BR MADV_WIPEONFORK
-but the specified address range includes file, Huge TLB,
+but the specified address range includes file,
.BR MAP_SHARED ,
or
.BR VM_PFNMAP
reply other threads:[~2018-10-09 6:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=153906827290.150228.5223641064732995626.stgit@buzz \
--to=khlebnikov@yandex-team.ru \
--cc=linux-man@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mtk.manpages@gmail.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