From: William Lee Irwin III <wli@holomorphy.com>
To: Michel Hubert <mhubert@matrox.com>
Cc: linux-mm@kvack.org
Subject: Re: [Fwd: remap_page_range() vs nopage()]
Date: Wed, 14 Jul 2004 15:56:38 -0700 [thread overview]
Message-ID: <20040714225638.GZ3411@holomorphy.com> (raw)
In-Reply-To: <1089844986.15840.144.camel@blackcomb>
On Wed, Jul 14, 2004 at 06:43:06PM -0400, Michel Hubert wrote:
> I previously posted this question to kernelnewbies.org but without
> getting any answer. I hope it is not too basic for this mailing list...
> It's written in Linux Device Driver 2nd edition that remap_page_range
> (which maps an entire range at once) should be used for device IO
> whereas nopage (which maps a single page at a time) should be used for
> real physical memory.
> However, I noticed that mmap_mem() in drivers/char/mem.c uses
> exclusively remap_page_range. How could this work when dealing with non
> contiguous physical memory ?
I gave up on fixing this and the highmem issue with mem.c a while ago.
There's holy penguin pee here, beware.
-- wli
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
prev parent reply other threads:[~2004-07-14 22:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-14 22:43 [Fwd: remap_page_range() vs nopage()] Michel Hubert
2004-07-14 22:56 ` William Lee Irwin III [this message]
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=20040714225638.GZ3411@holomorphy.com \
--to=wli@holomorphy.com \
--cc=linux-mm@kvack.org \
--cc=mhubert@matrox.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.