Re: [PATCH 7/8] mm: remove the extra ZONE_DEVICE struct page refcount

From: Christoph Hellwig
Date: Wed Feb 09 2022 - 08:54:00 EST


On Wed, Feb 09, 2022 at 08:29:56AM -0400, Jason Gunthorpe wrote:
> It is nice, but the other series are still impacted by the fsdax mess
> - they still stuff pages into ptes without proper refcounts and have
> to carry nonsense to dance around this problem.
>
> I certainly would be unhappy if the amd driver, for instance, gained
> the fsdax problem as well and started pushing 4k pages into PMDs.

As said before: I think this all needs to be fixed. But I'd rather
fix it gradually and I think this series is a nice step forward.
After that we can look at the pte mappings.