linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
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 10:46:35 +0100	[thread overview]
Message-ID: <10061842-139b-4b65-8595-a09c55c000d3@arm.com> (raw)
In-Reply-To: <c60321ef-8596-8fa0-7367-f43e69e1d894@redhat.com>

On 05/10/2023 09:15, David Hildenbrand wrote:
> On 05.10.23 09:37, Ryan Roberts wrote:
>> 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 ;-).
> 
> I just did :P
> 
> Note that I'm distracted by a tiny human being. I should be back at work tomorrow.

Ahh - congratulations!

> 
> Hopefully other people that participated in the discussions can review and ack
> in the meantime.

That would certainly be nice (hint to everyone else on the thread ;-)

> 
> IMHO there really is no need to rush at this point.

I have a couple of selfish reasons; I was hoping to get it into v6.7 since I was
thinking that would be the next LTS, but I've just done the maths again, and it
looks like it will be v6.6, so I guess I've missed it anyway. The other is that
I would like to move focus to other changes that build on this, and that's
difficult while this is still not merged.

> 



  parent reply	other threads:[~2023-10-05  9:46 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
     [not found]                   ` <c60321ef-8596-8fa0-7367-f43e69e1d894@redhat.com>
2023-10-05  9:46                     ` Ryan Roberts [this message]
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=10061842-139b-4b65-8595-a09c55c000d3@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