linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org,
	"Liam R . Howlett" <Liam.Howlett@oracle.com>,
	Vlastimil Babka <vbabka@suse.cz>, Jann Horn <jannh@google.com>,
	Pedro Falcato <pfalcato@suse.de>, Rik van Riel <riel@surriel.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH] man/man2/mremap.2: fix incorrect reference to VM_MIXEDMAP
Date: Fri, 21 Nov 2025 08:16:09 +0000	[thread overview]
Message-ID: <20251121081609.52462-1-lorenzo.stoakes@oracle.com> (raw)

We actually disallow VM_DONTEXPAND and VM_PFNMAP for VM_DONTUNMAP, the
manpage incorrectly references VM_MIXEDMAP. Correct this.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
---
 man/man2/mremap.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man2/mremap.2 b/man/man2/mremap.2
index 6a6df8601..cbe960f77 100644
--- a/man/man2/mremap.2
+++ b/man/man2/mremap.2
@@ -206,7 +206,7 @@ The
 flag can be used only with mappings that are not
 .B VM_DONTEXPAND
 or
-.BR VM_MIXEDMAP .
+.BR VM_PFNMAP .
 Before Linux 5.13, the
 .B MREMAP_DONTUNMAP
 flag could be used only with private anonymous mappings
-- 
2.51.2



             reply	other threads:[~2025-11-21  8:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-21  8:16 Lorenzo Stoakes [this message]
2025-11-21  8:20 ` Lorenzo Stoakes
2025-11-24 16:08   ` 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=20251121081609.52462-1-lorenzo.stoakes@oracle.com \
    --to=lorenzo.stoakes@oracle.com \
    --cc=Liam.Howlett@oracle.com \
    --cc=alx@kernel.org \
    --cc=jannh@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=pfalcato@suse.de \
    --cc=riel@surriel.com \
    --cc=vbabka@suse.cz \
    /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