Re: [patch] spinlocks: remove 'volatile'

Jan Engelhardt
2006-07-06T19:33:14Z

>> Any other use of "volatile" is almost certainly a bug, or just useless.
>
>That's not just a theoretical notion, btw. We had _tons_ of these kinds of
>"volatile"s in the original old networking code. They were _all_ wrong.
>Every single one.
>

$ find linux-2.6.17 -type f -iname '*.[ch]' -print0 | xargs -0 grep
volatile | wc -l
13948

Tough job.

Jan Engelhardt
--