Re: [PATCH 02/15] mm, dax: introduce pfn_t_special()

2017-11-02 Thread Michael Ellerman
Dan Williams writes: > In support of removing the VM_MIXEDMAP indication from DAX VMAs, > introduce pfn_t_special() for drivers to indicate that _PAGE_SPECIAL > should be used for DAX ptes. This also helps identify drivers like > dccssblk that only want to use DAX in a

[PATCH 02/15] mm, dax: introduce pfn_t_special()

2017-10-31 Thread Dan Williams
In support of removing the VM_MIXEDMAP indication from DAX VMAs, introduce pfn_t_special() for drivers to indicate that _PAGE_SPECIAL should be used for DAX ptes. This also helps identify drivers like dccssblk that only want to use DAX in a read-only fashion without get_user_pages() support.