mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Pavel Machek <pavel@ucw.cz>, kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Reading page from given block device
Date: Wed, 08 May 2002 14:30:36 -0700	[thread overview]
Message-ID: <3CD998FC.9C21949C@zip.com.au> (raw)
In-Reply-To: <20020508204809.GA2300@elf.ucw.cz> <3CD996E5.BFB5CF9E@zip.com.au>

Andrew Morton wrote:
> 
> ..
> >         memcpy(buf, bh->b_data, PAGE_SIZE);
> 
> You'll need to kmap bh->b_page before copying the data.

No you won't.  blockdev mappings don't use highmem.

-

  reply	other threads:[~2002-05-08 21:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-08 20:48 Pavel Machek
2002-05-08 21:21 ` Andrew Morton
2002-05-08 21:30   ` Andrew Morton [this message]
2002-05-08 22:56   ` Pavel Machek
     [not found]     ` <3CD9AE15.114D13E3@zip.com.au>
2002-05-08 23:15       ` Pavel Machek
2002-05-09  0:07         ` Andrew Morton
2002-05-09  4:42     ` Alexander Viro
2002-05-09 21:36       ` Pavel Machek
2002-05-09 21:45         ` Alexander Viro
2002-05-08 22:59   ` Pavel Machek

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=3CD998FC.9C21949C@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /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®