diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-09-14 13:51:30 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-09-14 13:51:30 +0000 |
commit | 22b6a68b913483cfdd54a45314b1c407ca1a5d5c (patch) | |
tree | 163a1a69c4a7f360d72c6e4b5d08b5cf6695562f /man2 | |
parent | d2243fd63e3a7aa1d8a769e70e11b743f4de9af8 (diff) |
Added text to note that start and size are both rounded downwards.
Diffstat (limited to 'man2')
-rw-r--r-- | man2/remap_file_pages.2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man2/remap_file_pages.2 b/man2/remap_file_pages.2 index 5999fb7d..766e991a 100644 --- a/man2/remap_file_pages.2 +++ b/man2/remap_file_pages.2 @@ -88,6 +88,20 @@ and .I size will be placed. +The values specified in +.I start +and +.I size +should be multiples of the system page size. +If they are not, then the kernel rounds +.I both +values +.I down +to the nearest multiple of the page size. +.\" This rounding is weird, and not consistent with the treatment of +.\" the analogous arguments for munmap()/mprotect() and for mlock(). +.\" MTK, 14 Sep 2005 + The .I prot argument must be specified as 0. |