Re: [PATCH 8/9] RISC-V: User-facing API

From: Christoph Hellwig
Date: Tue Jul 11 2017 - 09:55:49 EST

On Tue, Jul 11, 2017 at 02:22:15PM +0100, Will Deacon wrote:
> The problem is that by supporting these hypothetical designs that can't do
> atomics, you hurt sensible designs that *can* do the atomics because you
> force them to take an additional indirection that could otherwise be
> avoided.

Agreed. But the new patchset seems to remove it already, so I guess
we're fine on the kernel side. Now we just need to make sure the
glibc API doesn't use any indirections.

Note that it might make sense to emit these for very low end nommu
designs. Maybe even running Linux, but in that case they'll just need
a special non-standard ABI for very limited use cases.