Re: [PATCH] mm/huge_memory: add TRANSPARENT_HUGEPAGE_NEVER for THP

From: David Rientjes
Date: Fri Dec 02 2022 - 12:57:32 EST


On Thu, 1 Dec 2022, Matthew Wilcox wrote:

> On Wed, Nov 30, 2022 at 04:51:46PM +0800, ye.xingchen@xxxxxxxxxx wrote:
> > From: ye xingchen <ye.xingchen@xxxxxxxxxx>
> >
> > Sometimes we may need the /sys/kernel/mm/transparent_hugepage/enabled to
> > default as [never] at the first time.
>
> What is going wrong with THP enabled that you need to disable it?
>

That would be useful to know in addition to why this needs to be part of
.config and not simply using the kernel command line option.