public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Paul Mackerras <paulus@samba.org>
Cc: Matthew Wilcox <willy@debian.org>, linux-arch@vger.kernel.org
Subject: Re: [PROPOSAL] switch atomic_t to long
Date: Sun, 29 Feb 2004 03:44:56 +0300	[thread overview]
Message-ID: <20040229034456.A707@den.park.msu.ru> (raw)
In-Reply-To: <16446.58540.470071.388994@cargo.ozlabs.ibm.com>; from paulus@samba.org on Fri, Feb 27, 2004 at 05:33:16PM +1100

On Fri, Feb 27, 2004 at 05:33:16PM +1100, Paul Mackerras wrote:
> Note that you don't need both "count" and "waking" to do semaphores
> efficiently on architectures with load-locked/store-conditional; just
> a "count" is sufficient.  Look at the ppc implementation (or the ppc64
> or sparc64 implementations, which follow it).

Indeed...
Thanks for pointing that out.

Ivan.

       reply	other threads:[~2004-02-29  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040226141645.GL25779@parcelfarce.linux.theplanet.co.uk>
     [not found] ` <20040226174513.A16541@jurassic.park.msu.ru>
     [not found]   ` <20040226152544.GM25779@parcelfarce.linux.theplanet.co.uk>
     [not found]     ` <20040226190143.A16913@jurassic.park.msu.ru>
     [not found]       ` <16446.58540.470071.388994@cargo.ozlabs.ibm.com>
2004-02-29  0:44         ` Ivan Kokshaysky [this message]
     [not found] ` <20040226113641.43b4afe8.akpm@osdl.org>
     [not found]   ` <20040226120012.55b652d2.akpm@osdl.org>
2004-03-03 21:35     ` [PROPOSAL] switch atomic_t to long Anton Blanchard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040229034456.A707@den.park.msu.ru \
    --to=ink@jurassic.park.msu.ru \
    --cc=linux-arch@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=willy@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox