From: Nick Piggin <npiggin@suse.de>
To: Christoph Lameter <clameter@sgi.com>
Cc: Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [patch] mm: make mincore work for general mappings
Date: Fri, 2 Feb 2007 03:04:32 +0100 [thread overview]
Message-ID: <20070202020432.GA29827@wotan.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0701311218390.30567@schroedinger.engr.sgi.com>
On Wed, Jan 31, 2007 at 12:20:00PM -0800, Christoph Lameter wrote:
> On Tue, 30 Jan 2007, Nick Piggin wrote:
>
> > Make mincore work for anon mappings, nonlinear, and migration entries.
> > Based on patch from Linus Torvalds <torvalds@linux-foundation.org>.
>
> There are certain similarities with /proc/pid/numa_maps. See
> mm/mempolicy.c. Could we consolidate the code somehow (maybe also with
> smaps) and have one way of scanning the pages of a process?
smaps and numa_maps are pretty similar in that they are just looking
at the pte_page. mincore is more different in that it looks out to
pagecache and swapcache etc as well, but if the 3 could be unified
nicely it would definitely be worthwhile.
That would be a subsequent patch.
--
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>
prev parent reply other threads:[~2007-02-02 2:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-30 11:37 [patch] mm: make mincore work for general mappings Nick Piggin
2007-01-31 20:20 ` Christoph Lameter
2007-02-02 2:04 ` Nick Piggin [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=20070202020432.GA29827@wotan.suse.de \
--to=npiggin@suse.de \
--cc=clameter@sgi.com \
--cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).