From: Rik van Riel <riel@imladris.surriel.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: Dave McCracken <dmccr@us.ibm.com>, Andrew Morton <akpm@digeo.com>,
Linux Memory Management <linux-mm@kvack.org>
Subject: Re: [PATCH 2.5.62] Support for remap_page_range in objrmap
Date: Fri, 21 Feb 2003 00:43:17 -0300 (BRT) [thread overview]
Message-ID: <Pine.LNX.4.50L.0302210039120.2329-100000@imladris.surriel.com> (raw)
In-Reply-To: <178650000.1045782627@flay>
On Thu, 20 Feb 2003, Martin J. Bligh wrote:
> > Here's the fix we discussed for remap_page_range. It sets the anon flag
> > for pages in any vma used for nonlinear. It also requires that
> > MAP_NONLINEAR be passed in at mmap time to flag the vma.
>
> Using the page based mechanism might also clear up some people's
> concerns about small windows onto large shared areas for Oracle,
> which will probably be using these nonlinear mappings anyway.
Good point. Object based reverse mappings become unwieldy at about
the same point where the objects themselves get unwieldy.
A hybrid system with object based mappings in some cases and page
based mappings in other cases might work very nicely...
> Yes, I'm sure there are other corner cases that need to be addressed
> as well ;-)
There are, but at the moment I can't remember any as serious as the
"1000 tasks with 1000 small mappings of the same shared memory segment"
scenario.
This hybrid system looks like it is worth exploring.
regards,
Rik
--
Engineers don't grow up, they grow sideways.
http://www.surriel.com/ http://kernelnewbies.org/
--
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:[~2003-02-21 3:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-20 21:53 Dave McCracken
2003-02-20 23:10 ` Martin J. Bligh
2003-02-21 3:43 ` Rik van Riel [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=Pine.LNX.4.50L.0302210039120.2329-100000@imladris.surriel.com \
--to=riel@imladris.surriel.com \
--cc=akpm@digeo.com \
--cc=dmccr@us.ibm.com \
--cc=linux-mm@kvack.org \
--cc=mbligh@aracnet.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox