From: Grazvydas Ignotas Date: Sun, 10 Feb 2013 17:54:04 +0000 (+0200) Subject: thp: don't autodisable on pandora X-Git-Tag: sz_154~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=78a4e97b5bbef0b900ee32f8e855d8a5eb998cf8 thp: don't autodisable on pandora --- diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 9a33a2b0574b..0e5d01f697f4 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -538,7 +538,7 @@ static int __init hugepage_init(void) * where the extra memory used could hurt more than TLB overhead * is likely to save. The admin can still enable it through /sys. */ - if (totalram_pages < (512 << (20 - PAGE_SHIFT))) + if (totalram_pages < (200 << (20 - PAGE_SHIFT))) transparent_hugepage_flags = 0; start_khugepaged();