]> git.ipfire.org Git - thirdparty/man-pages.git/commit
madvise.2: update THP file/shmem documentation for +5.4
authorZach O'Keefe <zokeefe@google.com>
Fri, 21 Oct 2022 22:32:57 +0000 (15:32 -0700)
committerAlejandro Colomar <alx@kernel.org>
Sun, 30 Oct 2022 11:33:34 +0000 (12:33 +0100)
commit797a95e0e67a71deda18c0f6a1c3159cd9c12832
treec4399a46faced19f73cfde86862ecff5d18989ec
parent85d555d758f872ad35d25f0fb53cd5cce6e41678
madvise.2: update THP file/shmem documentation for +5.4

Since Linux 5.4, Transparent Huge Pages now support both file-backed
memory and shmem memory. Update MADV_HUGEPAGE advice description to
reflect this.

Additionally, expand the description of requirements for memory to be
considered eligible for THP: alignment / mapping requirements, VMA
flags, prctl(2) settings, inode status, etc.

Signed-off-by: Zach O'Keefe <zokeefe@google.com>
[ alx: ffix ]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/madvise.2