> On Thursday 21 August 2008 22:26,
jmerkey@wolfmountaingroup.com wrote:
>
> > I used the smp_wmb() functions. I noted a couple of things. a) some of
> > these macros just emit __asm__ __volatile__ into the code so why not just
> > say "volatile" to begin with
>
> It is not the same as volatile type. What it does is tell the compiler
> to clobber all registers or temporaries. This something pretty well
> defined and hard to get wrong compared to volatile type.