Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262673AbVDHDqm (ORCPT ); Thu, 7 Apr 2005 23:46:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262669AbVDHDqm (ORCPT ); Thu, 7 Apr 2005 23:46:42 -0400 Received: from dea.vocord.ru ([217.67.177.50]:31924 "EHLO vocord.com") by vger.kernel.org with ESMTP id S262675AbVDHDqZ (ORCPT ); Thu, 7 Apr 2005 23:46:25 -0400 Subject: Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1] From: Evgeniy Polyakov Reply-To: johnpol@2ka.mipt.ru To: Herbert Xu Cc: akpm@osdl.org, guillaume.thouvenin@bull.net, greg@kroah.com, linux-kernel@vger.kernel.org, "David S. Miller" In-Reply-To: <20050408033246.GA31344@gondor.apana.org.au> References: <1112931238.28858.180.camel@uganda> <20050408033246.GA31344@gondor.apana.org.au> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-t/P9MTnnfGVhuhp2MEgo" Organization: MIPT Date: Fri, 08 Apr 2005 07:52:34 +0400 Message-Id: <1112932354.28858.192.camel@uganda> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.4 (vocord.com [192.168.0.1]); Fri, 08 Apr 2005 07:45:42 +0400 (MSD) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1627 Lines: 54 --=-t/P9MTnnfGVhuhp2MEgo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 wrote: > > > > > > > > atomic_dec_and_test() is more expensive than 2 barriers + atomic_de= c(), > > > > but in case of connector I think the price is not so high. > > >=20 > > > Can you list the platforms on which this is true? > >=20 > > sparc64, some mips [at least in UP]. >=20 > 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, --=20 Evgeniy Polyakov Crash is better than data corruption -- Arthur Grabowski --=-t/P9MTnnfGVhuhp2MEgo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBCVgACIKTPhE+8wY0RAjZpAJ4mUm9ZF14S6O84BDrdLHFiJSW5mQCdFMvv +qwozrkP+JkRHWCUOy70pEk= =oD0a -----END PGP SIGNATURE----- --=-t/P9MTnnfGVhuhp2MEgo-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/