Re: [RFC PATCH v2 00/51] 1G page support for guest_memfd

From: Ira Weiny
Date: Fri May 16 2025 - 15:59:23 EST


Ira Weiny wrote:
> Ackerley Tng wrote:
> > Hello,
> >
> > This patchset builds upon discussion at LPC 2024 and many guest_memfd
> > upstream calls to provide 1G page support for guest_memfd by taking
> > pages from HugeTLB.
> >
> > This patchset is based on Linux v6.15-rc6, and requires the mmap support
> > for guest_memfd patchset (Thanks Fuad!) [1].
>
> Trying to manage dependencies I find that Ryan's just released series[1]
> is required to build this set.
>
> [1] https://lore.kernel.org/all/cover.1747368092.git.afranji@xxxxxxxxxx/
>
> Specifically this patch:
> https://lore.kernel.org/all/1f42c32fc18d973b8ec97c8be8b7cd921912d42a.1747368092.git.afranji@xxxxxxxxxx/
>
> defines
>
> alloc_anon_secure_inode()

Perhaps Ryan's set is not required? Just that patch?

It looks like Ryan's 2/13 is the same as your 1/51 patch?

https://lore.kernel.org/all/754b4898c3362050071f6dd09deb24f3c92a41c3.1747368092.git.afranji@xxxxxxxxxx/

I'll pull 1/13 and see where I get.

Ira

>
> Am I wrong in that?
>
> >
> > For ease of testing, this series is also available, stitched together,
> > at https://github.com/googleprodkernel/linux-cc/tree/gmem-1g-page-support-rfc-v2
> >
>
> I went digging in your git tree and then found Ryan's set. So thanks for
> the git tree. :-D
>
> However, it seems this add another dependency which should be managed in
> David's email of dependencies?
>
> Ira
>