Subject: Re: how to avoid re-ordering?
To: None <thorpej@wasabisystems.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 12/17/2001 05:19:59
From: Jason R Thorpe <thorpej@wasabisystems.com>
>  > From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>  > > 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.
>  > thanks.
> 
> Should't we just declare "cpl" as __volatile?

cpl is already volatile, isn't it?
am I missing something important?

---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>