ACCESS_ONCE()
Posted Aug 3, 2012 16:55 UTC (Fri) by
corbet (editor, #1)
In reply to:
ACCESS_ONCE() by daglwn
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.
(
Log in to post comments)