Re: [PATCH v2 16/18] x86: io: implement dummy relaxed accessor macros for writes

From: H. Peter Anvin
Date: Fri May 23 2014 - 10:54:41 EST


On 05/23/2014 07:46 AM, Will Deacon wrote:
>
> I would like the relaxed accessors to be ordered with respect to each other...
>
> What do you think?
>

I think "I would like" isn't a very good motivation. What are the
semantics of these things supposed to be? It seems more than a bit odd
to require them to be ordered with respect to each other and everything
else (which is what a memory clobber does) and then call them "relaxed".

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/