Re: [patch] spinlocks: remove 'volatile'

From: Jan Engelhardt
Date: Thu Jul 06 2006 - 15:31:32 EST


>> 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
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/