[PATCH v6 01/10] mm: add zone device coherent type memory support

Jason Gunthorpe jgg at nvidia.com
Tue Feb 15 14:45:24 UTC 2022


On Tue, Feb 15, 2022 at 01:16:43PM +0100, David Hildenbrand wrote:
> > fact, the first version of our patches attempted to add migration 
> > support to DEVICE_GENERIC. But we were convinced to create a new 
> > ZONE_DEVICE page type for our use case instead.
> 
> Do you know if DEVICE_GENERIC pages would end up as PageAnon()? My
> assumption was that they would be part of a special mapping.

We need to stop using the special PTEs and VMAs for things that have a
struct page. This is a mistake DAX created that must be undone.

Jason 


More information about the dri-devel mailing list