Re: [PATCH RESEND 3/3] mm: introduce ARCH_HAS_PTE_DEVMAP

2019-04-15 Thread Anshuman Khandual
On 04/13/2019 12:31 AM, Robin Murphy wrote: > ARCH_HAS_ZONE_DEVICE is somewhat meaningless in itself, and combined > with the long-out-of-date comment can lead to the impression than an > architecture may just enable it (since __add_pages() now "comprehends > device memory" for itself) and expec

Re: [PATCH RESEND 3/3] mm: introduce ARCH_HAS_PTE_DEVMAP

2019-04-12 Thread Dan Williams
On Fri, Apr 12, 2019 at 12:02 PM Robin Murphy wrote: > > ARCH_HAS_ZONE_DEVICE is somewhat meaningless in itself, and combined > with the long-out-of-date comment can lead to the impression than an > architecture may just enable it (since __add_pages() now "comprehends > device memory" for itself)