Displaying 2 results from an estimated 2 matches for "movable_operations".
2024 Nov 12
1
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
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 sure to
> clarify this in the cover letter when I respin.
I don't want you to respin. I think this is a bad idea.
2024 Nov 12
1
[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops
...oy overlaying folio->lru, primarily because we
have to temporarily "evacuate" it when someone wants to make use of
folio->lru (e.g., hugetlb isolation). So it's not completely "sticky",
at least for hugetlb.
Overlaying folio->mapping, similar to how "struct movable_operations"
overlay page->mapping is not an option, because folio->mapping will be
used for other purposes.
We'd need some sticky and reliable way to tell folio freeing code that
someone wants to intercept when the refcount of that folio goes to 0,
and identify who to notify.
Maybe folio...