From: Hugh Dickins <hughd@google.com>
To: David Rientjes <rientjes@google.com>
Cc: Matthew Wilcox <willy@infradead.org>,
ye.xingchen@zte.com.cn, akpm@linux-foundation.org,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/huge_memory: add TRANSPARENT_HUGEPAGE_NEVER for THP
Date: Fri, 2 Dec 2022 11:27:23 -0800 (PST) [thread overview]
Message-ID: <16b44431-5f9d-bfe4-049-4fd6a66e989a@google.com> (raw)
In-Reply-To: <4a78abbc-4c07-2208-1072-af6d342c3f1a@google.com>
On Fri, 2 Dec 2022, David Rientjes wrote:
> On Thu, 1 Dec 2022, Matthew Wilcox wrote:
> > On Wed, Nov 30, 2022 at 04:51:46PM +0800, ye.xingchen@zte.com.cn wrote:
> > > From: ye xingchen <ye.xingchen@zte.com.cn>
> > >
> > > 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.
There is also the puzzle of what new feature gets added by
#ifdef CONFIG_TRANSPARENT_HUGEPAGE_NEVER
#endif
Hugh
prev parent reply other threads:[~2022-12-02 19:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 8:51 ye.xingchen
2022-12-01 20:26 ` Matthew Wilcox
2022-12-02 17:57 ` David Rientjes
2022-12-02 19:27 ` Hugh Dickins [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16b44431-5f9d-bfe4-049-4fd6a66e989a@google.com \
--to=hughd@google.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rientjes@google.com \
--cc=willy@infradead.org \
--cc=ye.xingchen@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox