* [PATCH] man/man2/mremap.2: fix incorrect reference to VM_MIXEDMAP
@ 2025-11-21 8:16 Lorenzo Stoakes
2025-11-21 8:20 ` Lorenzo Stoakes
0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Stoakes @ 2025-11-21 8:16 UTC (permalink / raw)
To: Alejandro Colomar
Cc: linux-man, Liam R . Howlett, Vlastimil Babka, Jann Horn,
Pedro Falcato, Rik van Riel, linux-mm, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] man/man2/mremap.2: fix incorrect reference to VM_MIXEDMAP
2025-11-21 8:16 [PATCH] man/man2/mremap.2: fix incorrect reference to VM_MIXEDMAP Lorenzo Stoakes
@ 2025-11-21 8:20 ` Lorenzo Stoakes
2025-11-24 16:08 ` Alejandro Colomar
0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Stoakes @ 2025-11-21 8:20 UTC (permalink / raw)
To: Alejandro Colomar
Cc: linux-man, Liam R . Howlett, Vlastimil Babka, Jann Horn,
Pedro Falcato, Rik van Riel, linux-mm, linux-kernel
On Fri, Nov 21, 2025 at 08:16:09AM +0000, Lorenzo Stoakes wrote:
> We actually disallow VM_DONTEXPAND and VM_PFNMAP for VM_DONTUNMAP, the
> manpage incorrectly references VM_MIXEDMAP. Correct this.
Of course I ironically typo'd here :)
VM_DONTUNMAP -> MREMAP_DONTUNMAP
:P
>
> 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
>
Cheers, Lorenzo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] man/man2/mremap.2: fix incorrect reference to VM_MIXEDMAP
2025-11-21 8:20 ` Lorenzo Stoakes
@ 2025-11-24 16:08 ` Alejandro Colomar
0 siblings, 0 replies; 3+ messages in thread
From: Alejandro Colomar @ 2025-11-24 16:08 UTC (permalink / raw)
To: Lorenzo Stoakes
Cc: linux-man, Liam R . Howlett, Vlastimil Babka, Jann Horn,
Pedro Falcato, Rik van Riel, linux-mm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]
Hi Lorenzo,
On Fri, Nov 21, 2025 at 08:20:12AM +0000, Lorenzo Stoakes wrote:
> On Fri, Nov 21, 2025 at 08:16:09AM +0000, Lorenzo Stoakes wrote:
> > We actually disallow VM_DONTEXPAND and VM_PFNMAP for VM_DONTUNMAP, the
> > manpage incorrectly references VM_MIXEDMAP. Correct this.
>
> Of course I ironically typo'd here :)
>
> VM_DONTUNMAP -> MREMAP_DONTUNMAP
>
> :P
:P
> >
> > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Thanks! I've applied the patch, with the amendment. I've also added CC
tags for all the people in CC.
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=466c43360f3874a890e910610d4d01ea135d020c>
(use port 80)
Have a lovely day!
Alex
> > ---
> > 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
> >
>
> Cheers, Lorenzo
--
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-24 16:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-21 8:16 [PATCH] man/man2/mremap.2: fix incorrect reference to VM_MIXEDMAP Lorenzo Stoakes
2025-11-21 8:20 ` Lorenzo Stoakes
2025-11-24 16:08 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox