Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matt Mackall
Date: Friday, April 13, 2007 - 9:24 am

On Thu, Apr 12, 2007 at 05:42:01PM -0700, Andrew Morton wrote:

We can probably fit this in the existing (variable-sized) header.
 

Which new field? 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.

But in general, most of the statistics in smaps are basically useless
for shared mappings, just like RSS. Problem is, we really don't know
what statistics we want yet, or even if it can be distilled down to
simple numbers anyway.

-- 
Mathematics is the supreme nostalgia of our time.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 6/13] maps: Move the page walker code to lib/, Matt Mackall, (Tue Apr 3, 7:43 pm)
[PATCH 8/13] maps: Move clear_refs code to task_mmu.c, Matt Mackall, (Tue Apr 3, 7:43 pm)
[PATCH 9/13] maps: Regroup task_mmu by interface, Matt Mackall, (Tue Apr 3, 7:43 pm)
[PATCH 12/13] maps: Add /proc/pid/pagemap interface, Matt Mackall, (Tue Apr 3, 7:43 pm)
[PATCH 13/13] maps: Add /proc/kpagemap interface, Matt Mackall, (Tue Apr 3, 7:43 pm)
Re: [PATCH 12/13] maps: Add /proc/pid/pagemap interface, Nikita Danilov, (Wed Apr 4, 4:18 am)
Re: [PATCH 12/13] maps: Add /proc/pid/pagemap interface, Nikita Danilov, (Wed Apr 4, 11:03 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, William Lee Irwin III, (Thu Apr 12, 4:10 pm)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, William Lee Irwin III, (Thu Apr 12, 4:42 pm)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, William Lee Irwin III, (Thu Apr 12, 11:53 pm)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, William Lee Irwin III, (Thu Apr 12, 11:55 pm)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, William Lee Irwin III, (Fri Apr 13, 12:08 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Christoph Hellwig, (Fri Apr 13, 12:51 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Christoph Hellwig, (Fri Apr 13, 1:13 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, William Lee Irwin III, (Fri Apr 13, 1:15 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Christoph Hellwig, (Fri Apr 13, 2:46 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Ananth N Mavinakayan ..., (Fri Apr 13, 5:13 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Ananth N Mavinakayan ..., (Fri Apr 13, 5:24 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Matt Mackall, (Fri Apr 13, 9:24 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Christoph Hellwig, (Mon Apr 16, 3:59 am)
Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups, Christoph Hellwig, (Mon Apr 16, 4:00 am)