We actually disallow VM_DONTEXPAND and VM_PFNMAP for VM_DONTUNMAP, the manpage incorrectly references VM_MIXEDMAP. Correct this. Signed-off-by: Lorenzo Stoakes --- 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