summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorAndrea Arcangeli2011-01-14 00:46:55 +0100
committerLinus Torvalds2011-01-14 02:32:42 +0100
commit0af4e98b6b095c74588af04872f83d333c958c32 (patch)
tree56b1965482470219a8cf11b7e7c875ae91bff46e /mm/memory.c
parentthp: verify pmd_trans_huge isn't leaking (diff)
downloadkernel-qcow2-linux-0af4e98b6b095c74588af04872f83d333c958c32.tar.gz
kernel-qcow2-linux-0af4e98b6b095c74588af04872f83d333c958c32.tar.xz
kernel-qcow2-linux-0af4e98b6b095c74588af04872f83d333c958c32.zip
thp: madvise(MADV_HUGEPAGE)
Add madvise MADV_HUGEPAGE to mark regions that are important to be hugepage backed. Return -EINVAL if the vma is not of an anonymous type, or the feature isn't built into the kernel. Never silently return success. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions