From: Andi Kleen <ak@suse.de>
To: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: linux-mm <linux-mm@kvack.org>,
Christoph Lameter <clameter@sgi.com>,
Steve Longerbeam <stevel@mvista.com>,
Andrew Morton <akpm@osdl.org>
Subject: Re: Query re: mempolicy for page cache pages
Date: Thu, 18 May 2006 20:12:19 +0200 [thread overview]
Message-ID: <200605182012.19570.ak@suse.de> (raw)
In-Reply-To: <1147974599.5195.96.camel@localhost.localdomain>
> 1) What ever happened to Steve's patch set?
It needed more work, but he just disappeared at some point.
>
> 2) Is this even a problem that needs solving, as Christoph seem to think
> at one time?
The problem that hasn't been worked out is how to add persistent
attributes to files. Steve avoided that by limiting his to only
ELF executables and using a static header there, but i'm not
sure that is a generally useful enough for mainline. Just temporary
for mmaps seems very narrow in usefulness.
And with xattrs was unclear if it would be costly or not and
even worth it.
At least in the general case just interleaving the file cache
based on a global setting or on cpuset seemed to work well enough
for most people.
Let's ask it differently. Do you have a real application that
would be improved by it?
> 2) As with shmem segments, the shared policies applied to shared
> file mappings persist as long as the inode remains--i.e., until
> the file is deleted or the inode recycled--whether or not any
> task has the file mapped or even open. We could, I suppose,
> free the map on last close.
The recycling is the problem. It's basically a lottery if the
attributes are kept with high memory pressure or not.
Doesn't seem like a robust approach.
-Andi
--
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-05-18 18:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 17:49 Lee Schermerhorn
2006-05-18 18:12 ` Andi Kleen [this message]
2006-05-18 18:29 ` Lee Schermerhorn
2006-05-18 18:41 ` Christoph Lameter
2006-05-18 18:14 ` Andrew Morton
2006-05-18 19:10 ` Lee Schermerhorn
2006-05-18 18:15 ` Christoph Lameter
2006-05-18 19:27 ` Lee Schermerhorn
2006-05-18 19:53 ` Christoph Lameter
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=200605182012.19570.ak@suse.de \
--to=ak@suse.de \
--cc=Lee.Schermerhorn@hp.com \
--cc=akpm@osdl.org \
--cc=clameter@sgi.com \
--cc=linux-mm@kvack.org \
--cc=stevel@mvista.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