Re: user-mode port 0.44-2.4.7

Andrea Arcangeli (andrea@suse.de)
Thu, 26 Jul 2001 00:49:57 +0200


On Tue, Jul 24, 2001 at 09:04:28AM -0700, Linus Torvalds wrote:
>
> On Tue, 24 Jul 2001, Andrea Arcangeli wrote:
> > On Mon, Jul 23, 2001 at 05:47:04PM -0600, Richard Gooch wrote:
> > > I don't think it should be allowed to do that. That's a whipping
> >
> > it is allowed to do that, period. This is not your choice or my choice.
> > You may ask gcc folks not to do that and I think they just do.
>
> Stop this stupid argument.

I will if Honza assures me that no future version of gcc will cause me to
crash if I don't declare xtime volatile and I play with it while it can
change under me (which seems not the case from his last email).

Of course I know that this is more a theorical thing and that if we
consider that a bug we have also many other bugs of the same kind.

Honza? Do you assure me that? In case you don't, could you suggest
another way besides volatile and spinlocks around the access to the
variable to avoid gcc to get confused?

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/