On Fri, 2005-04-08 at 13:32 +1000, Herbert Xu wrote: > On Fri, Apr 08, 2005 at 07:33:58AM +0400, Evgeniy Polyakov wrote: > > On Fri, 2005-04-08 at 12:59 +1000, Herbert Xu wrote: > > > Evgeniy Polyakov <[email protected]> wrote: > > > > > > > > atomic_dec_and_test() is more expensive than 2 barriers + atomic_dec(), > > > > but in case of connector I think the price is not so high. > > > > > > Can you list the platforms on which this is true? > > > > sparc64, some mips [at least in UP]. > > Are you sure? The implementations of atomic_sub and atomic_sub_return > (which correspond to atomic_dec and atomic_dec_and_test) seem to be > comparable in cost on those two architectures. mips has additional sync. sparc64 has 32->64 conversation on exit. > Perhaps Dave can clarify for us about sparc64? Dave? > Cheers, -- Evgeniy Polyakov Crash is better than data corruption -- Arthur Grabowski
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- From: "David S. Miller" <[email protected]>
- Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- From: Herbert Xu <[email protected]>
- Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- References:
- Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- From: Herbert Xu <[email protected]>
- Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- From: Evgeniy Polyakov <[email protected]>
- Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- From: Herbert Xu <[email protected]>
- Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- Prev by Date: Re: Kernel SCM saga..
- Next by Date: Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.
- Previous by thread: Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- Next by thread: Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]
- Index(es):