]> git.ipfire.org Git - thirdparty/man-pages.git/commit
madvise.2: Clarify addr/length and update hugetlb support
authorMike Kravetz <mike.kravetz@oracle.com>
Thu, 9 Jun 2022 18:52:01 +0000 (11:52 -0700)
committerAlejandro Colomar <alx.manpages@gmail.com>
Fri, 10 Jun 2022 11:02:21 +0000 (13:02 +0200)
commit756761bf7f23e6fd679d708a1c2d1e94547f4fce
tree71437ab1fa1733cf4b29cd466ebaed6b0da9d677
parentb4e163963df0b5f439f13f49757899ad98136d50
madvise.2: Clarify addr/length and update hugetlb support

Clarify that madvise only works on full pages, and remove references
to 'bytes'.

Update MADV_DONTNEED and MADV_REMOVE sections to remove notes that
HugeTLB mappings are not supported.  Indicate the releases when they
were first supported as well as alignment restrictions.

Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Acked-by: Peter Xu <peterx@redhat.com>
[alx: wsfix]
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/madvise.2