public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: David Chinner <dgc@sgi.com>
Cc: linux-kernel@vger.kernel.org, Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: Announce: Semaphore-Removal tree
Date: Wed, 30 Apr 2008 04:06:13 -0600	[thread overview]
Message-ID: <20080430100612.GI14976@parisc-linux.org> (raw)
In-Reply-To: <20080429000929.GF108924158@sgi.com>

On Tue, Apr 29, 2008 at 10:09:30AM +1000, David Chinner wrote:
> > 2. l_flushsema
> > 
> > This seems to be a completion.  ie you're using it to wait for the log
> > to be flushed.
> 
> Yes, that could probably be a completion. I'm assuming that a completion
> can handle several thousand waiting processes, right?

By the way ... is it common that you get several thousand waiting
processes?  I ask because you wake them all up, then the herd thunders
into the l_icloglock spinlock.  Or is this a worst-case scenario that
happens once in a blue moon?

If l_flushsema does typically get more than one waiter, we can instead
wake the waiters one at a time.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

  parent reply	other threads:[~2008-04-30 10:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-25 17:00 Announce: Semaphore-Removal tree Matthew Wilcox
2008-04-25 20:24 ` Daniel Walker
2008-04-25 20:38 ` Daniel Walker
2008-04-25 21:12   ` Christoph Hellwig
2008-04-25 21:22     ` Daniel Walker
2008-04-26  9:30       ` Christoph Hellwig
2008-04-26 13:39         ` Peter Zijlstra
2008-04-26 13:44           ` Christoph Hellwig
2008-04-26 14:04             ` Peter Zijlstra
2008-04-28  4:59             ` David Chinner
2008-04-26 13:54 ` Stephen Rothwell
2008-04-26 15:59   ` Matthew Wilcox
2008-04-26 16:43     ` Stephen Rothwell
2008-04-28  5:10 ` David Chinner
2008-04-28 12:20   ` Matthew Wilcox
2008-04-29  0:09     ` David Chinner
2008-04-29  2:35       ` Matthew Wilcox
2008-04-29  3:56         ` David Chinner
2008-04-30 10:21           ` Matthew Wilcox
2008-04-30 10:06       ` Matthew Wilcox [this message]
2008-04-30 11:01         ` David Chinner

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=20080430100612.GI14976@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=dgc@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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