mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Jens Axboe <axboe@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IDE: Do not call bh_phys() on buffers with invalid b_page.
Date: 29 Jan 2003 16:26:15 +0100	[thread overview]
Message-ID: <1043853975.1668.74.camel@zion.wanadoo.fr> (raw)
In-Reply-To: <20030129152214.GE31566@suse.de>

On Wed, 2003-01-29 at 16:22, Jens Axboe wrote:

> Ehm no, if b_data is < PAGE_SIZE, it's probably an offset and not a
> valid address. So it should be exactly where it is -- for b_page, it's
> _not_ buggy for b_data to be < PAGE_SIZE. That's expected. Submitter
> would have to be buggy for it to trigger, though, so you can just remove
> it if you want.

Ah, I see what you wanted to check now :) Ok, I won't remove it, though
it would still make sense to extend the test to PAGE_OFFSET I beleive,
any b_data < PAGE_OFFSET is wrong.

Anyway, let's leave 2.4 as it is now.

-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>

  reply	other threads:[~2003-01-29 15:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29 14:57 Benjamin Herrenschmidt
2003-01-29 15:00 ` Jens Axboe
2003-01-29 15:20   ` Benjamin Herrenschmidt
2003-01-29 15:22     ` Jens Axboe
2003-01-29 15:26       ` Benjamin Herrenschmidt [this message]
2003-01-29 15:38         ` Jens Axboe
2003-01-29 15:44           ` Benjamin Herrenschmidt
2003-01-29 15:47             ` 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=1043853975.1668.74.camel@zion.wanadoo.fr \
    --to=benh@kernel.crashing.org \
    --cc=axboe@suse.de \
    --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

all inboxes | Powered by JetHome®