From: Zi Yan <ziy@nvidia.com>
To: Karim Manaouil <kmanaouil.dev@gmail.com>,
Matthew Wilcox <willy@infradead.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>, Nico Pache <npache@redhat.com>,
Luka Bai <lukafocus@icloud.com>,
David Hildenbrand <david@kernel.org>,
David Rientjes <rientjes@google.com>,
linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
"Liam R. Howlett" <liam@infradead.org>,
Ryan Roberts <ryan.roberts@arm.com>, Dev Jain <dev.jain@arm.com>,
Barry Song <baohua@kernel.org>, Lance Yang <lance.yang@linux.dev>,
Vlastimil Babka <vbabka@kernel.org>,
Mike Rapoport <rppt@kernel.org>,
Suren Baghdasaryan <surenb@google.com>,
Michal Hocko <mhocko@suse.com>, Kairui Song <kasong@tencent.com>,
Qi Zheng <qi.zheng@linux.dev>,
Shakeel Butt <shakeel.butt@linux.dev>,
Axel Rasmussen <axelrasmussen@google.com>,
Yuanchu Xie <yuanchu@google.com>, Wei Xu <weixugc@google.com>,
Rik van Riel <riel@surriel.com>, Harry Yoo <harry@kernel.org>,
Jann Horn <jannh@google.com>,
Johannes Weiner <hannes@cmpxchg.org>,
linux-kernel@vger.kernel.org, Luka Bai <lukabai@tencent.com>
Subject: Re: [PATCH 0/5] mm/khugepaged: add collapse hint machanism for khugepaged and use in mglru
Date: Thu, 11 Jun 2026 11:14:06 -0400 [thread overview]
Message-ID: <BC930D36-A35E-4D68-9DA1-914E4223FB6B@nvidia.com> (raw)
In-Reply-To: <20260611092313.7d4knb2irt2rtswu@wrangler>
On 11 Jun 2026, at 5:23, Karim Manaouil wrote:
> On Tue, Jun 09, 2026 at 03:44:21PM +0100, Lorenzo Stoakes wrote:
>> On Tue, Jun 09, 2026 at 04:17:45AM -0600, Nico Pache wrote:
>>> I had future plans for something similar as part of the thp=auto work;
>>> however that requires significant thought and investigation into how
>>> we can properly gather hints for collapse/split THP candidates. From
>>> my perspective we'd want a more global structure/system outside of
>>> khugepaged, that would directly call khugepaged (and others like
>>> split, etc). It would also tie into the allocator so that at fault
>>> time it could leverage the hints to make better decisions. My fear
>>> with this series is that making a decision now might complicate future
>>> work by adding complexity we may eventually want to remove for a
>>> better solution.
>>
>> I know this is future planning stuff, but I want to point out that we need
>> to see significant rework of the THP code base before accepting any further
>> major changes.
>>
>>>
>>> If you have the chance perhaps you can lead a discussion on your
>>> proposal at the biweekly MM alignment session.
>>>
>>> +David Rientjes as he leads those discussions. We could use that time
>>> to layout a plan for what needs to be done for this work, and for the
>>> work surrounding thp=auto as I beleive they will be interdependent :)
>>
>> We prefer to discuss THP topics in the THP cabal meeting, which both THP
>> maintainers regularly attend :) having separate sessions we might not be aware
>> of isn't really helpful.
>
> Hi Lorenzo,
>
> How to participate in the THP cabal meetings? Is there any public link
> to join? I'm working recently on anti-fragmentation, which is kind of relevant...
Matthew is hosting the meeting. You can ask him to send you an invite.
>
> Thanks
>> And 'THP auto' is a broad topic rather than a new feature. I don't think it
>> should be seen as a topic 'owned' by anybody, but rather something that we
>> as a community should discuss.
>>
>> Series that appear from nowhere trying to implement significant changes
>> along those lines without community disucssion will not be hugely
>> appreciated :)
>>
>> Thanks, Lorenzo
>
> --
> ~karim
Best Regards,
Yan, Zi
next prev parent reply other threads:[~2026-06-11 15:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-31 4:27 [PATCH 0/5] mm/khugepaged: add collapse hint machanism for khugepaged and use in mglru Luka Bai
2026-05-31 4:27 ` [PATCH 1/5] mm/khugepaged: add framework for khugepaged collapse hint Luka Bai
2026-05-31 4:27 ` [PATCH 2/5] mm/khugepaged: use slab cache instead of normal kmalloc Luka Bai
2026-05-31 4:27 ` [PATCH 3/5] mm/khugepaged: add deduplication when adding new collapse hint Luka Bai
2026-05-31 4:27 ` [PATCH 4/5] mm/khugepaged: add accounting for successful hint or non-hint collapse Luka Bai
2026-05-31 4:27 ` [PATCH 5/5] mm/khugepaged: add khugepaged collapse hint in mglru reference checking Luka Bai
2026-06-09 10:17 ` [PATCH 0/5] mm/khugepaged: add collapse hint machanism for khugepaged and use in mglru Nico Pache
2026-06-09 14:44 ` Lorenzo Stoakes
2026-06-11 9:23 ` Karim Manaouil
2026-06-11 15:14 ` Zi Yan [this message]
2026-06-11 17:16 ` Matthew Wilcox
2026-06-12 1:01 ` Luka Bai
2026-06-11 3:07 ` Luka Bai
2026-06-09 16:06 ` Lorenzo Stoakes
2026-06-11 3:39 ` Luka Bai
-- strict thread matches above, loose matches on Subject: below --
2026-05-31 4:23 Luka Bai
2026-05-31 4:40 ` Luka Bai
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=BC930D36-A35E-4D68-9DA1-914E4223FB6B@nvidia.com \
--to=ziy@nvidia.com \
--cc=akpm@linux-foundation.org \
--cc=axelrasmussen@google.com \
--cc=baohua@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=david@kernel.org \
--cc=dev.jain@arm.com \
--cc=hannes@cmpxchg.org \
--cc=harry@kernel.org \
--cc=jannh@google.com \
--cc=kasong@tencent.com \
--cc=kmanaouil.dev@gmail.com \
--cc=lance.yang@linux.dev \
--cc=liam@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ljs@kernel.org \
--cc=lukabai@tencent.com \
--cc=lukafocus@icloud.com \
--cc=mhocko@suse.com \
--cc=npache@redhat.com \
--cc=qi.zheng@linux.dev \
--cc=riel@surriel.com \
--cc=rientjes@google.com \
--cc=rppt@kernel.org \
--cc=ryan.roberts@arm.com \
--cc=shakeel.butt@linux.dev \
--cc=surenb@google.com \
--cc=vbabka@kernel.org \
--cc=weixugc@google.com \
--cc=willy@infradead.org \
--cc=yuanchu@google.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;
as well as URLs for NNTP newsgroup(s).