From: Ryan Roberts <ryan.roberts@arm.com>
To: David Hildenbrand <david@redhat.com>,
John Hubbard <jhubbard@nvidia.com>,
Matthew Wilcox <willy@infradead.org>,
Yang Shi <shy828301@gmail.com>,
"Yin, Fengwei" <fengwei.yin@intel.com>,
Yu Zhao <yuzhao@google.com>, Zi Yan <ziy@nvidia.com>,
David Rientjes <rientjes@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Vlastimil Babka <vbabka@suse.cz>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Hugh Dickins <hughd@google.com>
Cc: Linux-MM <linux-mm@kvack.org>
Subject: Re: ANON_LARGE_FOLIOS meeting follow-up & refined proposal
Date: Thu, 5 Oct 2023 08:37:54 +0100 [thread overview]
Message-ID: <9d13a144-a36c-45d1-b7db-a08f84fa54ca@arm.com> (raw)
In-Reply-To: <caa738eb-bbb3-870e-9fc4-a7a27a1d8e3b@redhat.com>
On 02/10/2023 13:58, David Hildenbrand wrote:
>> [...]
>>
>> My concern is that the "fresh start" is not as simple as it appears. I've come
>> to the conclusion that if we have a new interface, then it should really be a
>> strict superset of THP to make it extensible in future. But that opens questions
>
> ^ +1
>
>> about how you configure PMD-sized allocations when both interfaces disagree. For
>> "enabled" its fairly straightforward; you can do a logical OR. But its less
>> clear how to handle disagreement over defrag. And then you have huge_zero_page
>> and khugepaged etc, which might just stay with THP. But eventually we will
>
> Probably we want everything that THP had (khugepaged, zeropage, ...) also on
> some (selected?) smaller orders.
>
>> probably want to do async collapse for smaller order folios too, and at that
>> point you have to duplicate all those controls... So I concluded that actually
>> it is cleaner to just bolt on a small-order extension to THP. I've updated all
>> the docs, and that was pretty simple to do, which usually suggests that the
>> extension is purely additive and shouldn't be confusing.
>
> Fine with me. I don't quite like bitmaps exposed to user space, though. Just
> having a user-readable list or a "directory" with various options as files might
> be cleaner ...
>
>>
>> Take a look at the patches, then make a judgement ;-)
>>
>
> ... but we'll discuss it there :)
>
David, FYI, the patches are posted at [1] (you're cc'ed) and have been in
mm-unstable for nearly a week - so I guess they will go to mm-stable soon by
default. So if you want to object to any of it, now's the time ;-).
[1] https://lore.kernel.org/linux-mm/20230929114421.3761121-1-ryan.roberts@arm.com/
next prev parent reply other threads:[~2023-10-05 7:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-14 8:16 Ryan Roberts
2023-09-22 15:48 ` Ryan Roberts
2023-09-23 0:33 ` John Hubbard
2023-09-25 8:51 ` Ryan Roberts
2023-09-26 18:31 ` David Hildenbrand
2023-09-27 7:23 ` Ryan Roberts
2023-09-27 15:32 ` David Hildenbrand
2023-09-27 19:04 ` Ryan Roberts
2023-10-02 12:58 ` David Hildenbrand
2023-10-05 7:37 ` Ryan Roberts [this message]
[not found] ` <c60321ef-8596-8fa0-7367-f43e69e1d894@redhat.com>
2023-10-05 9:46 ` Ryan Roberts
2023-10-06 11:53 ` David Hildenbrand
2023-09-26 18:34 ` David Hildenbrand
2023-09-26 8:13 ` Kirill A. Shutemov
2023-09-26 18:29 ` David Hildenbrand
2023-09-26 18:26 ` 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=9d13a144-a36c-45d1-b7db-a08f84fa54ca@arm.com \
--to=ryan.roberts@arm.com \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=fengwei.yin@intel.com \
--cc=hughd@google.com \
--cc=jhubbard@nvidia.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-mm@kvack.org \
--cc=rientjes@google.com \
--cc=shy828301@gmail.com \
--cc=vbabka@suse.cz \
--cc=willy@infradead.org \
--cc=yuzhao@google.com \
--cc=ziy@nvidia.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