[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070413105808.28bf39ae.akpm@linux-foundation.org>
Date: Fri, 13 Apr 2007 10:58:08 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Matt Mackall <mpm@...enic.com>
Cc: Nick Piggin <nickpiggin@...oo.com.au>,
William Lee Irwin III <wli@...omorphy.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups
On Fri, 13 Apr 2007 12:24:51 -0500 Matt Mackall <mpm@...enic.com> wrote:
> > > From /proc/kpagemap + /proc/*/pagemap, you can
> > > basically synthesize any statistic you want, including all the
> > > existing ones. For some data, /proc/pid/smaps (or /proc/meminfo) will
> > > be considerably more efficient.
> >
> > You'd need to poke clear_refs beforehand to make the referenced bits useful.
> >
> > Actually, we also need to run around the ptes and collect the pte-referenced
> > bits too. I don't think your code copes with any of that?
>
> No, and it probably should. Perhaps dirty as well, though I've kindof
> lost the plot on how that works lately.
Dirty is OK: the VM keeps pte-dirtiness and page-dirtiness in sync now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists