Re: [PATCH] Fix the cpumask rewrite
From: Jonathan Lundell
Date: Mon Jun 28 2004 - 18:18:11 EST
At 11:01 AM -0700 6/26/04, Linus Torvalds wrote:
I'm saying that data structures ARE NOT VOLATILE. I personally believe
that the notion of a "volatile" data structure is complete and utter shit.
Perhaps, but surely they exist. I'm thinking specifically of
memory-mapped hardware registers and data structures that are shared
with DMA devices. Most recent Ethernet controllers fall into the
latter category, and in either case write-locking is not an option.
If I can find some way to force my code to reload the data, then
sure, call the code "volatile" if you like. But the data is simply
volatile, in the sense that it can (and is expected to) change
independent of my code paths.
--
/Jonathan Lundell.
-
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/