Displaying 4 results from an estimated 4 matches for "guestmemfd".
Did you mean:
guest_memfd
2024 Nov 08
1
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
...is not ideal.
>
Thanks for having a look!
Replying to clarify some things. Fuad, feel free to add additional
information.
> Honestly, I question this thesis. How complex would it be to have 'yet
> more callbacks'? Is the challenge really that the mm can't detect when
> guestmemfd is the owner of the page because the page will be
> ZONE_NORMAL?
Fuad might have been a bit imprecise here: We don't want an ever growing
list of checks+callbacks on the page freeing fast path.
This series replaces the two cases we have by a single generic one,
which is nice independent...
2024 Nov 11
1
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
...covered everything, and I'll make sure to
clarify this in the cover letter when I respin.
Cheers,
/fuad
>
> > Honestly, I question this thesis. How complex would it be to have 'yet
> > more callbacks'? Is the challenge really that the mm can't detect when
> > guestmemfd is the owner of the page because the page will be
> > ZONE_NORMAL?
>
> Fuad might have been a bit imprecise here: We don't want an ever growing
> list of checks+callbacks on the page freeing fast path.
>
> This series replaces the two cases we have by a single generic one,...
2024 Nov 13
2
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
...t making that special handling go away.
> We'll need some reliable way to identify these folios that need care.
> guest_memfd will be using folio->mapcount for now, so for now we couldn't
> set a page type like hugetlb does.
If hugetlb can set lru.next at a certain point, then guestmemfd could
set a page type at a similar point, no?
> > Also how does this translate to Matthew's memdesc world?
In a memdesc world, pages no longer have a refcount. We might still
have put_page() which will now be a very complicated (and out-of-line)
function that looks up what kind of memd...
2024 Nov 12
1
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
On 12.11.24 14:53, Jason Gunthorpe wrote:
> On Tue, Nov 12, 2024 at 10:10:06AM +0100, David Hildenbrand wrote:
>> On 12.11.24 06:26, Matthew Wilcox wrote:
>>> On Mon, Nov 11, 2024 at 08:26:54AM +0000, Fuad Tabba wrote:
>>>> Thanks for your comments Jason, and for clarifying my cover letter
>>>> David. I think David has covered everything, and I'll make