Re: [PATCH] 1-2-3 GB

Hugh Dickins (hugh@veritas.com)
Sat, 19 Jan 2002 00:24:43 +0000 (GMT)


On Fri, 18 Jan 2002, Pavel Machek wrote:
>
> > The patch below seems to be enough to convince egcs-2.91.66 and
> > gcc-2.95.3 to use a "jb" comparison there. I'm working on PIII,
> > prefetchw() just a stub, if that makes any difference.
>
> If this is really gcc bug, would simply making j volatile fix it?

You rogue! The panacea, eh? Well, yes, it does look like that's
enough with egcs-2.91.66 (I don't have 2.95 here to try at the moment,
expect it would behave the same) - the comparison uses "jle" as before,
but now it's correctly on free_one_pmd's index j instead of an address.
Neat - but an even bigger fatter comment needed?

Hugh

-
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/