Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-13 Thread John Hubbard
On 11/12/24 8:57 PM, Matthew Wilcox wrote: On Tue, Nov 12, 2024 at 03:22:46PM +0100, David Hildenbrand wrote: 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: ... I've certainly considered go

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-13 Thread David Hildenbrand
On 13.11.24 05:57, Matthew Wilcox wrote: On Tue, Nov 12, 2024 at 03:22:46PM +0100, David Hildenbrand wrote: 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: I don't want you to respin. I thin

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-12 Thread Matthew Wilcox
On Tue, Nov 12, 2024 at 03:22:46PM +0100, David Hildenbrand wrote: > 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: > > > > I don't want you to respin. I think this is a bad idea. > > >

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-12 Thread David Hildenbrand
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 +, Fuad Tabba wrote: Thanks for your comments Jason, and for clarifying my cover letter David. I think Da

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-12 Thread Jason Gunthorpe
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 +, Fuad Tabba wrote: > > > Thanks for your comments Jason, and for clarifying my cover letter > > > David. I think David has covered everything, a

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-12 Thread David Hildenbrand
On 12.11.24 06:26, Matthew Wilcox wrote: On Mon, Nov 11, 2024 at 08:26:54AM +, 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 wan

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-11 Thread Matthew Wilcox
On Mon, Nov 11, 2024 at 08:26:54AM +, 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

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-11 Thread Fuad Tabba
Hi Jason and David, On Fri, 8 Nov 2024 at 19:33, David Hildenbrand wrote: > > On 08.11.24 18:05, Jason Gunthorpe wrote: > > On Fri, Nov 08, 2024 at 04:20:30PM +, Fuad Tabba wrote: > >> Some folios, such as hugetlb folios and zone device folios, > >> require special handling when the folio's r

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-08 Thread David Hildenbrand
On 08.11.24 18:05, Jason Gunthorpe wrote: On Fri, Nov 08, 2024 at 04:20:30PM +, Fuad Tabba wrote: Some folios, such as hugetlb folios and zone device folios, require special handling when the folio's reference count reaches 0, before being freed. Moreover, guest_memfd folios will likely requ

Re: [RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-08 Thread Jason Gunthorpe
On Fri, Nov 08, 2024 at 04:20:30PM +, Fuad Tabba wrote: > Some folios, such as hugetlb folios and zone device folios, > require special handling when the folio's reference count reaches > 0, before being freed. Moreover, guest_memfd folios will likely > require special handling to notify it onc

[RFC PATCH v1 00/10] mm: Introduce and use folio_owner_ops

2024-11-08 Thread Fuad Tabba
Some folios, such as hugetlb folios and zone device folios, require special handling when the folio's reference count reaches 0, before being freed. Moreover, guest_memfd folios will likely require special handling to notify it once a folio's reference count reaches 0, to facilitate shared to priva