Re: [PATCH v6 21/26] fs/dax: Properly refcount fs dax pages

2025-02-09 Thread Alistair Popple
On Thu, Feb 06, 2025 at 09:50:07PM -0800, Dan Williams wrote: > Alistair Popple wrote: > > On Mon, Jan 13, 2025 at 07:35:07PM -0800, Dan Williams wrote: > > > Alistair Popple wrote: > > > > [...] > > > > > ...and here is that aformentioned patch: > > > > This patch is different from what you ori

Re: [PATCH v6 21/26] fs/dax: Properly refcount fs dax pages

2025-01-13 Thread Dan Williams
Alistair Popple wrote: > Currently fs dax pages are considered free when the refcount drops to > one and their refcounts are not increased when mapped via PTEs or > decreased when unmapped. This requires special logic in mm paths to > detect that these pages should not be properly refcounted, and t

Re: [PATCH v6 21/26] fs/dax: Properly refcount fs dax pages

2025-01-12 Thread Alistair Popple
On Fri, Jan 10, 2025 at 08:54:55AM -0800, Darrick J. Wong wrote: > On Fri, Jan 10, 2025 at 05:00:49PM +1100, Alistair Popple wrote: > > Currently fs dax pages are considered free when the refcount drops to > > one and their refcounts are not increased when mapped via PTEs or > > decreased when unma

Re: [PATCH v6 21/26] fs/dax: Properly refcount fs dax pages

2025-01-10 Thread Darrick J. Wong
On Fri, Jan 10, 2025 at 05:00:49PM +1100, Alistair Popple wrote: > Currently fs dax pages are considered free when the refcount drops to > one and their refcounts are not increased when mapped via PTEs or > decreased when unmapped. This requires special logic in mm paths to > detect that these page