aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vm/map_hugetlb.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2015-04-15 16:14:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-15 16:35:19 -0700
commit80d6b94bd69a7a49b52bf503ef6a841f43cf5bbb (patch)
treeae701bac5add788e58774bb009f3a335e072eee2 /tools/testing/selftests/vm/map_hugetlb.c
parentthp: do not adjust zone water marks if khugepaged is not started (diff)
downloadlinux-dev-80d6b94bd69a7a49b52bf503ef6a841f43cf5bbb.tar.xz
linux-dev-80d6b94bd69a7a49b52bf503ef6a841f43cf5bbb.zip
mm, doc: cleanup and clarify munmap behavior for hugetlb memory
munmap(2) of hugetlb memory requires a length that is hugepage aligned, otherwise it may fail. Add this to the documentation. This also cleans up the documentation and separates it into logical units: one part refers to MAP_HUGETLB and another part refers to requirements for shared memory segments. Signed-off-by: David Rientjes <rientjes@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Davide Libenzi <davidel@xmailserver.org> Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Shuah Khan <shuahkh@osg.samsung.com> Acked-by: Hugh Dickins <hughd@google.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Joern Engel <joern@logfs.org> Cc: Jianguo Wu <wujianguo@huawei.com> Cc: Eric B Munson <emunson@akamai.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/map_hugetlb.c')
0 files changed, 0 insertions, 0 deletions