Hello Heinrich,
On 02/13/2018 05:47 PM, Heinrich Schuchardt wrote:
Hello Michael,
according to mmap.2 on Linux the mapping will be created at a page
boundary if addr is not NULL.
It remains unclear if this holds true for addr == NULL, too.
I have not checked the coding.
Maybe only the punctuation is wrong:
%s/mapping; on Linux,/mapping. On Linux,/
Thanks for the report. I applied the patch below.
Cheers,
Michael
diff --git a/man2/mmap.2 b/man2/mmap.2
index 88468887c..ea64eb8f0 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -64,7 +64,8 @@ argument specifies the length of the mapping (which
must be greater than 0).
If
.I addr
is NULL,
-then the kernel chooses the address at which to create the mapping;
+then the kernel chooses the (page-aligned) address
+at which to create the mapping;
this is the most portable method of creating a new mapping.
If
.I addr
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html