On Mon, 4 Feb 2002, Ralf Baechle wrote: > Bugs due to surprise memory reordering are entirely unfun to debug, so be > paranoid. They're out there to get you ... The rule of thumb is to use barriers whenever a *device* requires them and depend on the platform to define them appropriately. They will expand to nothing if unneeded, so there is no trade-off. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available +