From: Matt Mackall <mpm@selenic.com>
To: Dave Hansen <haveblue@us.ibm.com>
Cc: akpm@linux-foundation.org, wfg@mail.ustc.edu.cn,
balbir@linux.vnet.ibm.com, jjberthels@gmail.com,
linux-mm <linux-mm@kvack.org>
Subject: Re: + maps2-export-page-index-in-kpagemap.patch added to -mm tree
Date: Mon, 24 Sep 2007 17:02:02 -0500 [thread overview]
Message-ID: <20070924220202.GK19691@waste.org> (raw)
In-Reply-To: <1190670636.26982.258.camel@localhost>
On Mon, Sep 24, 2007 at 02:50:36PM -0700, Dave Hansen wrote:
> On Mon, 2007-09-24 at 16:35 -0500, Matt Mackall wrote:
> > On Mon, Sep 24, 2007 at 02:23:08PM -0700, Dave Hansen wrote:
> > > Could someone elaborate a little bit more on exactly why you'd want to
> > > know which parts of the file are mapped?
> >
> > Google codesearch finds one actual user of remap_file_pages (and
> > -lots- of false positives) in an obscure webserver, so I think the
> > answer somehow involves Oracle.
>
> If you're asking yourself wtf Oracle is doing, I can see how this is
> helpful. But, since Oracle has to maintain its own internal mappings of
> what it remapped, this shouldn't help Oracle itself.
>
> In any case, even if you realize that Oracle is misusing
> (under-utilizing?) its remapped areas, what do you do? You have to go
> dig into Oracle to find out what it was doing. That is precisely what
> you would have had to do in the first place without this patch. I don't
> quite get what this buys us.
Indeed. In theory, you can do lots of interesting things with
remap_file_pages, but most of them translate into "kludge to get
around limited address space".
I think Fengguang is just thinking forward to the next logical step
here which is "expose what's in the page cache". Which means being
able to go from page back to device:inode:offset or (better, but
trickier) path:offset.
--
Mathematics is the supreme nostalgia of our time.
--
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:[~2007-09-24 22:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200709242044.l8OKi01e016834@imap1.linux-foundation.org>
2007-09-24 21:19 ` + maps2-export-page-index-in-kpagemap.patch added to -mm tree Dave Hansen
[not found] ` <20070924205901.GI19691@waste.org>
2007-09-24 21:23 ` Dave Hansen
2007-09-24 21:35 ` Matt Mackall
2007-09-24 21:50 ` Dave Hansen
2007-09-24 22:02 ` Matt Mackall [this message]
[not found] ` <20070925071941.GC7862@mail.ustc.edu.cn>
2007-09-25 7:19 ` Fengguang Wu
2007-09-25 8:17 ` Balbir Singh
[not found] ` <20070925095804.GA12549@mail.ustc.edu.cn>
2007-09-25 9:58 ` filecache: expose what's in the page cache Fengguang Wu
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=20070924220202.GK19691@waste.org \
--to=mpm@selenic.com \
--cc=akpm@linux-foundation.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=haveblue@us.ibm.com \
--cc=jjberthels@gmail.com \
--cc=linux-mm@kvack.org \
--cc=wfg@mail.ustc.edu.cn \
/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;
as well as URLs for NNTP newsgroup(s).