Subject: Re: [linux-audio-dev] atomic xchg
From: est_AT_hyperreal.org
Date: to loka 14 1999 - 19:15:42 EDT
David Olofson discourseth:
>
> And BTW, even if a single CPU instruction is used (add for example),
> that's worth nothing on an SMP system. AFAIK, the bus works with
> access granularity, and doesn't care about CPU instructions...
Hmm..I think it does care if you use the lock prefix on the pentium,
or the similar mechanism on the ppc. Still, I prefer to think of
anything other than pthread calls or read/writes of pointer/ints as
architecture-specific optimizations.
Eric
This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:27:59 EST