Posted Aug 3, 2012 16:55 UTC (Fri) by corbet
In reply to: ACCESS_ONCE()
Parent article: ACCESS_ONCE()
Nobody said the (potential) bug was anywhere else. But declaring that variable as volatile would deoptimize things much more than is necessary. Rather than do that, the developers involved used ACCESS_ONCE() and things work as they should.
to post comments)