mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [patch] optimise loop driver a bit
Date: Tue, 26 Apr 2005 05:04:29 -0700	[thread overview]
Message-ID: <20050426050429.69137417.akpm@osdl.org> (raw)
In-Reply-To: <426C6AF2.9090406@yahoo.com.au>

Nick Piggin <nickpiggin@yahoo.com.au> wrote:
>
> Looks like locking can be optimised quite a lot.

So I've peered suspiciously at the ->lo_pending handling for some time and
am unconvinced.  Are you sure that the error path in loop_make_request() is
correct?  The old code decremented the pending count in there.

Why do we need that nasty-looking `pending' local in loop_thread()?

  reply	other threads:[~2005-04-26 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-25  3:58 Nick Piggin
2005-04-26 12:04 ` Andrew Morton [this message]
2005-04-26 12:12   ` Nick Piggin

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=20050426050429.69137417.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.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

all inboxes | Powered by JetHome®