[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190802100835.GA4175@arrakis.emea.arm.com>
Date: Fri, 2 Aug 2019 11:08:35 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Dave Hansen <dave.hansen@...el.com>
Cc: Vincenzo Frascino <vincenzo.frascino@....com>,
linux-arm-kernel@...ts.infradead.org, linux-doc@...r.kernel.org,
linux-mm@...ck.org, linux-arch@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Will Deacon <will.deacon@....com>,
Andrey Konovalov <andreyknvl@...gle.com>,
Szabolcs Nagy <szabolcs.nagy@....com>
Subject: Re: [PATCH v6 1/2] arm64: Define
Documentation/arm64/tagged-address-abi.rst
Hi Dave,
On Wed, Jul 31, 2019 at 09:43:46AM -0700, Dave Hansen wrote:
> On 7/25/19 6:50 AM, Vincenzo Frascino wrote:
> > With the relaxed ABI proposed through this document, it is now possible
> > to pass tagged pointers to the syscalls, when these pointers are in
> > memory ranges obtained by an anonymous (MAP_ANONYMOUS) mmap().
>
> I don't see a lot of description of why this restriction is necessary.
> What's the problem with supporting MAP_SHARED?
We could support MAP_SHARED | MAP_ANONYMOUS (and based on some internal
discussions, this would be fine with the hardware memory tagging as
well). What we don't want in the ABI is to support file mmap() for
top-byte-ignore (or MTE). If you see a use-case, please let us know.
--
Catalin
Powered by blists - more mailing lists