]> git.baikalelectronics.ru Git - kernel.git/commit
thp: don't allow transparent hugepage support without PSE
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:47:09 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:45 +0000 (17:32 -0800)
commit4e1d245ab30b9ea80202732c0b2204190b81950b
treead2c23c28b9dea009daf3719aefeb79103e2c152
parent0f91b38e72558a18cdd3420a31813bd7728b6a3f
thp: don't allow transparent hugepage support without PSE

Archs implementing Transparent Hugepage Support must implement a function
called has_transparent_hugepage to be sure the virtual or physical CPU
supports Transparent Hugepages.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/pgtable.h
mm/huge_memory.c