mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-12-02 12:49:20 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| .gitignore | ||
| 00-INDEX | ||
| active_mm.txt | ||
| balance | ||
| cleancache.txt | ||
| frontswap.txt | ||
| highmem.txt | ||
| hugetlbpage.txt | ||
| hwpoison.txt | ||
| ksm.txt | ||
| numa | ||
| numa_memory_policy.txt | ||
| overcommit-accounting | ||
| page_migration | ||
| page_owner.txt | ||
| pagemap.txt | ||
| remap_file_pages.txt | ||
| slub.txt | ||
| soft-dirty.txt | ||
| split_page_table_lock | ||
| transhuge.txt | ||
| unevictable-lru.txt | ||
| zswap.txt | ||