From: Matt Mackall <mpm@selenic.com>
To: Dave Hansen <haveblue@us.ibm.com>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH 9/9] pagemap: export swap ptes
Date: Fri, 24 Aug 2007 11:56:16 -0500 [thread overview]
Message-ID: <20070824165616.GP21720@waste.org> (raw)
In-Reply-To: <1187972362.16177.3614.camel@localhost>
On Fri, Aug 24, 2007 at 09:19:22AM -0700, Dave Hansen wrote:
> On Thu, 2007-08-23 at 19:29 -0500, Matt Mackall wrote:
> > On Wed, Aug 22, 2007 at 04:18:14PM -0700, Dave Hansen wrote:
> > >
> > > In addition to understanding which physical pages are
> > > used by a process, it would also be very nice to
> > > enumerate how much swap space a process is using.
> > >
> > > This patch enables /proc/<pid>/pagemap to display
> > > swap ptes. In the process, it also changes the
> > > constant that we used to indicate non-present ptes
> > > before.
> > >
> > > Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
> >
> > I suspect you missed a quilt add here, as is_swap_pte is not in any
> > header file and is thus implicitly declared.
>
> Yeah, I have another patch that was declared waaaaaaay earlier in my
> series that does this.
I moved it from mm/migrate.c to include/linux/swapops.h here.
> I'm not completely confident in the way that I
> formatted the swap pte, so let's hold off on just this patch for now.
> I'll rework it and send it your way again in a few days.
Yeah, that bit is a little tricky. I'm going to be off the net for the
next week or so, so I can pick this up in September. I should just
need a resend of this patch.
--
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>
prev parent reply other threads:[~2007-08-24 16:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 23:18 [PATCH 1/9] /proc/pid/pagemap update (v2) Dave Hansen
2007-08-22 23:18 ` [PATCH 2/9] pagemap: remove file header Dave Hansen
2007-08-22 23:18 ` [PATCH 3/9] pagemap: use PAGE_MASK/PAGE_ALIGN() Dave Hansen
2007-08-22 23:18 ` [PATCH 4/9] pagemap: remove open-coded sizeof(unsigned long) Dave Hansen
2007-08-22 23:18 ` [PATCH 5/9] introduce TASK_SIZE_OF() for all arches Dave Hansen
2007-08-22 23:18 ` [PATCH 6/9] pagemap: give -1's a name Dave Hansen
2007-08-22 23:18 ` [PATCH 7/9] pagewalk: add handler for empty ranges Dave Hansen
2007-08-22 23:18 ` [PATCH 8/9] pagemap: use page walker pte_hole() helper Dave Hansen
2007-08-22 23:54 ` Matt Mackall
2007-08-22 23:18 ` [PATCH 9/9] pagemap: export swap ptes Dave Hansen
2007-08-24 0:29 ` Matt Mackall
2007-08-24 16:19 ` Dave Hansen
2007-08-24 16:56 ` Matt Mackall [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=20070824165616.GP21720@waste.org \
--to=mpm@selenic.com \
--cc=haveblue@us.ibm.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