From: Andrew Morton <akpm@digeo.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: rostedt@stny.rr.com, linux-kernel@vger.kernel.org, srostedt@goodmis.org
Subject: Re: What's the reason that /dev/mem can't map unreserved RAM?
Date: Thu, 17 Apr 2003 13:45:12 -0700 [thread overview]
Message-ID: <20030417134512.1623a926.akpm@digeo.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0304172036540.1966-100000@localhost.localdomain>
Hugh Dickins <hugh@veritas.com> wrote:
>
> I did start out on eliminating PageReserved a few months ago,
> but was persuaded to delay that until 2.7. When that's done,
> you will be able to mmap /dev/mem properly.
I think we can almost do it now. Just a few things like get_user_pages(),
ptrace and core dumping may need to be taught about VM_RESERVED.
Or we could simply change mmap_mem() to set VM_IO if any of the pages aren't
valid. That's probably an accurate reflection of what the app is trying to
do, too.
prev parent reply other threads:[~2003-04-17 20:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-17 18:21 Steven Rostedt
2003-04-17 20:05 ` Hugh Dickins
2003-04-17 20:45 ` Andrew Morton [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=20030417134512.1623a926.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@stny.rr.com \
--cc=srostedt@goodmis.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®