Re: rcu_read_lock lost its compiler barrier

From: Herbert Xu
Date: Thu Jun 06 2019 - 01:04:10 EST

On Tue, Jun 04, 2019 at 10:44:18AM -0400, Alan Stern wrote:
> Currently the LKMM says the test is allowed and there is a data race,
> but this answer clearly is wrong since it would violate the RCU
> guarantee.

Thank you! This is what I tried to say all along in this thread
but you expressed it in a much better way :)
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key: