Subject: Re: how to avoid re-ordering?
To: YAMAMOTO Takashi <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 12/16/2001 11:00:16
On Mon, Dec 17, 2001 at 03:42:54AM +0900, YAMAMOTO Takashi wrote:
> From: YAMAMOTO Takashi <firstname.lastname@example.org>
> > I noticed that spl*/splx are inlined and re-orderd
> > with "-O3 -march=pentium", and it produce bad codes as a result.
> > I actually experienced panics due to this.
> I'll commit attached patch some days later if no objection.
Should't we just declare "cpl" as __volatile?
-- Jason R. Thorpe <email@example.com>