Re: [RFC][PATCH] mips: Fix arch_spin_unlock()
From: Måns Rullgård
Date: Tue Feb 02 2016 - 09:54:14 EST
Ralf Baechle <ralf@xxxxxxxxxxxxxx> writes:
> On Tue, Feb 02, 2016 at 12:19:04AM -0800, Linus Torvalds wrote:
>
>> Memory ordering is confusing enough as it is. We should not make
>> people worry more than they already have to. Strong rules are good.
>
> Confusing and the resulting bugs can be very hard to debug.
>
> One of the problems I've experienced is that Linux does support liberal
> memory ordering, even as extreme as the Alpha.
We don't really have much choice given the reality of existing hardware.
--
Måns Rullgård