[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cc96cad8-2078-8ee0-9ce7-d073dcc702c8@arm.com>
Date: Mon, 15 Apr 2019 17:00:35 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: Robin Murphy <robin.murphy@....com>, linux-mm@...ck.org
Cc: dan.j.williams@...el.com, ira.weiny@...el.com, jglisse@...hat.com,
oohall@...il.com, x86@...nel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND 3/3] mm: introduce ARCH_HAS_PTE_DEVMAP
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 expect things to work.
>
> In practice, however, ZONE_DEVICE users have little chance of
> functioning correctly without __HAVE_ARCH_PTE_DEVMAP, so let's clean
> that up the same way as ARCH_HAS_PTE_SPECIAL and make it the proper
> dependency so the real situation is clearer.
>
> Signed-off-by: Robin Murphy <robin.murphy@....com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@....com>
Powered by blists - more mailing lists