Linux: Volatile Performance

“In the continuing discussion about how GCC treats the volatile
keyword, Linus Torvalds noted, ‘I just have a strong suspicion that
‘volatile’ performance is so low down the list of any C compiler
persons interest, that it’s never going to happen. And quite
frankly, I cannot blame the gcc guys for it.’ He went on to
explain, ‘that’s especially as ‘volatile’ really isn’t a very good
feature of the C language, and is likely to get *less* interesting
rather than more (as user space starts to be more and more
threaded, ‘volatile’ gets less and less useful…'”