Re: [RFC][PATCH 5/5] percpu-rwsem: Optimize readers and reduce global impact

From: Oleg Nesterov
Date: Fri May 29 2015 - 16:10:29 EST


On 05/29, Oleg Nesterov wrote:
>
> Just one nit below,

Ah, wait, I forgot about the "trivial" percpu_up_write()...

Doesn't it need mb() before "state = readers_slow" to ensure
"release" semantics?

Oleg.

--
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/