Re: [PATCH 02/12] mm: Convert pXd_devmap checks to vma_is_dax

2025-06-11 Thread Alistair Popple
On Fri, May 30, 2025 at 11:37:21AM +0200, David Hildenbrand wrote: > On 29.05.25 08:32, Alistair Popple wrote: > > Currently dax is the only user of pmd and pud mapped ZONE_DEVICE > > pages. Therefore page walkers that want to exclude DAX pages can check > > pmd_devmap or pud_devmap. However soon d

Re: [PATCH 02/12] mm: Convert pXd_devmap checks to vma_is_dax

2025-06-04 Thread Dan Williams
Alistair Popple wrote: > Currently dax is the only user of pmd and pud mapped ZONE_DEVICE > pages. Therefore page walkers that want to exclude DAX pages can check > pmd_devmap or pud_devmap. However soon dax will no longer set PFN_DEV, > meaning dax pages are mapped as normal pages. > > Ensure pag

Re: [PATCH 02/12] mm: Convert pXd_devmap checks to vma_is_dax

2025-06-03 Thread Jason Gunthorpe
On Thu, May 29, 2025 at 04:32:03PM +1000, Alistair Popple wrote: > Currently dax is the only user of pmd and pud mapped ZONE_DEVICE > pages. Therefore page walkers that want to exclude DAX pages can check > pmd_devmap or pud_devmap. However soon dax will no longer set PFN_DEV, > meaning dax pages a

Re: [PATCH 02/12] mm: Convert pXd_devmap checks to vma_is_dax

2025-05-30 Thread David Hildenbrand
On 29.05.25 08:32, Alistair Popple wrote: Currently dax is the only user of pmd and pud mapped ZONE_DEVICE pages. Therefore page walkers that want to exclude DAX pages can check pmd_devmap or pud_devmap. However soon dax will no longer set PFN_DEV, meaning dax pages are mapped as normal pages. E

[PATCH 02/12] mm: Convert pXd_devmap checks to vma_is_dax

2025-05-28 Thread Alistair Popple
Currently dax is the only user of pmd and pud mapped ZONE_DEVICE pages. Therefore page walkers that want to exclude DAX pages can check pmd_devmap or pud_devmap. However soon dax will no longer set PFN_DEV, meaning dax pages are mapped as normal pages. Ensure page walkers that currently use pXd_de