]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Added text to note that start and size are both rounded downwards.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 14 Sep 2005 13:51:30 +0000 (13:51 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 14 Sep 2005 13:51:30 +0000 (13:51 +0000)
man2/remap_file_pages.2

index 5999fb7d15b3d04cb4e7b727ec2e98c7044da977..766e991a698194f3ad22379e887ec7222c44f355 100644 (file)
@@ -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.