public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [BIO] Bounce queue in bio_add_page
Date: Tue, 4 Nov 2003 10:03:53 +0100	[thread overview]
Message-ID: <20031104090353.GM1477@suse.de> (raw)
In-Reply-To: <20031104090325.GA21301@gondor.apana.org.au>

On Tue, Nov 04 2003, Herbert Xu wrote:
> On Tue, Nov 04, 2003 at 09:49:30AM +0100, Jens Axboe wrote:
> > 
> > That could work, but it breaks the rule that counts are always accurate.
> 
> Yes, it means that recount may return a higher value but it is never
> lower.

Precisely. Historically, that would have caused panics in some drivers
even though it is safe :)

> I think it should be safe though as recount is not always called (it is
> only called if the phys/hw segments exceed the limits).  In the cases
> where it is not called you may be looking at an overestimate anyway.

I think it is safe too, just want to make absolutely sure.

-- 
Jens Axboe


  reply	other threads:[~2003-11-04  9:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01  4:46 [BIO] Bounce queue in bio_add_page Herbert Xu
2003-11-01 10:05 ` Herbert Xu
2003-11-03 12:25   ` Jens Axboe
2003-11-03 20:52     ` Herbert Xu
2003-11-04  8:49       ` Jens Axboe
2003-11-04  9:03         ` Herbert Xu
2003-11-04  9:03           ` Jens Axboe [this message]
2003-11-05  9:48             ` Jens Axboe
2003-11-06 21:09               ` Herbert Xu
2003-11-07 11:23                 ` Herbert Xu
2003-11-07 11:25                   ` Jens Axboe
2003-11-07 11:28                     ` Herbert Xu
2003-11-07 11:32                       ` Jens Axboe
2003-11-07 22:52                         ` Herbert Xu
2003-11-08  9:29                           ` Jens Axboe

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=20031104090353.GM1477@suse.de \
    --to=axboe@suse.de \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-kernel@vger.kernel.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