Re: user-mode port 0.44-2.4.7

Andrea Arcangeli (andrea@suse.de)
Mon, 23 Jul 2001 20:27:34 +0200


On Mon, Jul 23, 2001 at 11:11:25AM -0700, Linus Torvalds wrote:
> Now, the change of algorithm might be something like
>
> /*
> * We need to get _one_ value here, because our
> * state machine ....
> */

gcc can assume 'state' stays constant in memory not just during the
'case'.

> The C standard doesn't say crap about volatile. It leaves it up to the
> compiler to do something about it.

The C folks definitely say it is a kernel bug if you don't apply my
patch and I agree with them. Ask Jan.

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