Subject: Re: how to avoid re-ordering?
To: None <g.mcgarry@ieee.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 12/17/2001 11:58:39
From: Gregory McGarry <g.mcgarry@ieee.org>
> It seems that __asm statements are atomic and gcc won't reschedule
> around them.  This seems to work:

yes, it's why I use null asm statement as barrier.
but there is no needs to write the whole in assembler, IMO.

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