From: Jes Sorensen <jes@sgi.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: linux-mm@kvack.org, Linus Torvalds <torvalds@osdl.org>,
Carsten Otte <cotte@de.ibm.com>,
roe@sgi.com, Robin Holt <holt@sgi.com>,
Jack Steiner <steiner@sgi.com>
Subject: Re: VM_PFNMAP and do_no_pfn handler
Date: 20 Feb 2006 10:55:26 -0500 [thread overview]
Message-ID: <yq0psliqb2p.fsf@jaguar.mkp.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0602201526260.12160@goblin.wat.veritas.com>
>>>>> "Hugh" == Hugh Dickins <hugh@veritas.com> writes:
Hugh> On Mon, 20 Feb 2006, Jes Sorensen wrote:
>> Any suggestions? (or rather, what obvious thing did I miss? ;-)
Hugh> I believe you'll be safe for as long as your driver prohibits
Hugh> COW mappings. You're not the only one to have VM_PFNMAP areas
Hugh> which don't follow Linus' vm_pgoff rule: which is why he added
Hugh> the !is_cow_mapping letout late in 2.6.15-rc. We cannot change
Hugh> that lightly.
Hugh> I think you're worrying too much, unless you anticipate wanting
Hugh> to extend to COW mappings later. That would indeed need
Hugh> vm_normal_page to be changed (and I know what change to make,
Hugh> but Linus hated it!).
Hi Hugh,
Thanks for the explanation. It just seemed to me that is_cow_mapping()
seemed a bit of a strange name for a
'this_mapping_really_has_no_struct_page_behind_it_honest()' function.
Is there some reason why we try to look up the struct page for
anything mapped VM_PFNMAP?
I can live with the current situation, but maybe it would be worth
adding some extra explanation to vm_normal_page() then?
I hope to post the changes I have in mind for do_no_pfn() and the
driver within a couple of days for those who are interested.
Cheers,
Jes
--
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:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2006-02-20 15:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-20 14:20 Jes Sorensen
2006-02-20 15:39 ` Hugh Dickins
2006-02-20 15:55 ` Jes Sorensen [this message]
2006-02-20 16:30 ` Hugh Dickins
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=yq0psliqb2p.fsf@jaguar.mkp.net \
--to=jes@sgi.com \
--cc=cotte@de.ibm.com \
--cc=holt@sgi.com \
--cc=hugh@veritas.com \
--cc=linux-mm@kvack.org \
--cc=roe@sgi.com \
--cc=steiner@sgi.com \
--cc=torvalds@osdl.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