From: Barry Song <baohua@kernel.org>
To: Ryan Roberts <ryan.roberts@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Jonathan Corbet <corbet@lwn.net>,
David Hildenbrand <david@redhat.com>,
Lance Yang <ioworker0@gmail.com>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH v2] mm: Override mTHP "enabled" defaults at kernel cmdline
Date: Fri, 9 Aug 2024 16:52:10 +0800 [thread overview]
Message-ID: <CAGsJ_4yV6uqwiRsy-Je_WysgUuN2s6MC6n3az9aP_C+3ZKS+mA@mail.gmail.com> (raw)
In-Reply-To: <20240808101700.571701-1-ryan.roberts@arm.com>
On Thu, Aug 8, 2024 at 6:17 PM Ryan Roberts <ryan.roberts@arm.com> wrote:
>
> Add thp_anon= cmdline parameter to allow specifying the default
> enablement of each supported anon THP size. The parameter accepts the
> following format and can be provided multiple times to configure each
> size:
>
> thp_anon=<size>[KMG]:<value>
>
> See Documentation/admin-guide/mm/transhuge.rst for more details.
>
> Configuring the defaults at boot time is useful to allow early user
> space to take advantage of mTHP before its been configured through
> sysfs.
>
> Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Tested-by: Barry Song <baohua@kernel.org>
Reviewed-by: Barry Song <baohua@kernel.org>
Thanks
Barry
next prev parent reply other threads:[~2024-08-09 8:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240808101700.571701-1-ryan.roberts@arm.com>
2024-08-08 21:17 ` Barry Song
2024-08-09 7:58 ` Ryan Roberts
2024-08-09 8:31 ` Barry Song
2024-08-09 8:57 ` Ryan Roberts
2024-08-09 9:04 ` Barry Song
2024-08-09 8:49 ` Baolin Wang
2024-08-09 8:52 ` Barry Song [this message]
2024-08-09 9:19 ` David Hildenbrand
2024-08-09 9:24 ` Barry Song
2024-08-09 9:32 ` David Hildenbrand
2024-08-09 10:37 ` Ryan Roberts
2024-08-09 11:37 ` Barry Song
2024-08-09 13:15 ` David Hildenbrand
2024-08-12 5:36 ` Barry Song
2024-08-12 8:20 ` David Hildenbrand
2024-08-12 8:36 ` Barry Song
2024-08-12 9:05 ` David Hildenbrand
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=CAGsJ_4yV6uqwiRsy-Je_WysgUuN2s6MC6n3az9aP_C+3ZKS+mA@mail.gmail.com \
--to=baohua@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=corbet@lwn.net \
--cc=david@redhat.com \
--cc=ioworker0@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ryan.roberts@arm.com \
/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