From: Alex Henrie <alexhenrie24@gmail.com>
To: linux-man@vger.kernel.org, alx@kernel.org, bgeffon@google.com,
linux-mm@kvack.org
Cc: Alex Henrie <alexhenrie24@gmail.com>
Subject: [PATCH man-pages v2] mremap.2: Update information about MREMAP_DONTUNMAP restrictions
Date: Sun, 10 Nov 2024 23:10:19 -0700 [thread overview]
Message-ID: <20241111061139.206404-1-alexhenrie24@gmail.com> (raw)
In-Reply-To: <20241105041700.1386571-1-alexhenrie24@gmail.com>
Link: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a4609387859f0281951f5e476d9f76d7fb9ab321>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
Changes in v2:
- Move link to Link line in commit message
- Consistently position the word "only"
- Use .B instead of .BR for a word followed by a space
Thanks to Alejandro for your feedback.
---
man/man2/mremap.2 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/man/man2/mremap.2 b/man/man2/mremap.2
index 53e0bcf2d..62bf17b76 100644
--- a/man/man2/mremap.2
+++ b/man/man2/mremap.2
@@ -106,7 +106,13 @@ remaps a mapping to a new address but does not unmap the mapping at
.IP
The
.B MREMAP_DONTUNMAP
-flag can be used only with private anonymous mappings
+flag can be used only with mappings that are not
+.B VM_DONTEXPAND
+or
+.BR VM_MIXEDMAP .
+Before Linux 5.13, the
+.B MREMAP_DONTUNMAP
+flag could be used only with private anonymous mappings
(see the description of
.B MAP_PRIVATE
and
--
2.47.0
next prev parent reply other threads:[~2024-11-11 6:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-05 4:16 [PATCH] " Alex Henrie
2024-11-05 11:50 ` Alejandro Colomar
2024-11-11 6:07 ` Alex Henrie
2024-11-11 6:10 ` Alex Henrie [this message]
2024-11-12 23:35 ` [PATCH man-pages v2] " Alejandro Colomar
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=20241111061139.206404-1-alexhenrie24@gmail.com \
--to=alexhenrie24@gmail.com \
--cc=alx@kernel.org \
--cc=bgeffon@google.com \
--cc=linux-man@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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