Re: [PATCH v2 1/4] mm: completely disable THP by transparent_hugepage=0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



于 2011年06月22日 09:16, David Rientjes 写道:
On Tue, 21 Jun 2011, Amerigo Wang wrote:

Introduce "transparent_hugepage=0" to totally disable THP.
"transparent_hugepage=never" means setting THP to be partially
disabled, we need a new way to totally disable it.


Why can't you just compile it off so you never even compile
mm/huge_memory.c in the first place and save the space in the kernel image
as well?  Having the interface available to enable the feature at runtime
is worth the savings this patch provides, in my opinion.

https://lkml.org/lkml/2011/6/20/506
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux