From: Andrea Arcangeli Date: Thu, 13 Jan 2011 23:47:17 +0000 (-0800) Subject: thp: madvise(MADV_NOHUGEPAGE) X-Git-Tag: v2.6.38-rc1~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a664b2d8555c659127bf8fe049a58449d394a707;p=pandora-kernel.git thp: madvise(MADV_NOHUGEPAGE) Add madvise MADV_NOHUGEPAGE to mark regions that are not 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed