lkml.org 
[lkml]   [2008]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] pagemap: Change kpagecount to return the map count, not the reference count, of a page.
On Thu, Jun 5, 2008 at 12:01 PM, Matt Mackall <mpm@selenic.com> wrote:
>
> On Thu, 2008-06-05 at 11:04 -0400, Thomas Tuttle wrote:
>> When trying to use pagemap to calculate the "proportional set size"
>> [1] of a process, I discovered that there were often references to
>> pages that could not be discovered by kpagecount. I changed
>> kpagecount to return the number of times a page is mapped, rather than
>> referenced, so kpagecount is more useful for determining how many
>> processes are using a page.
>
> I'm pretty sure this has been suggested before and I was just too
> thick-skulled to get it. Yes, the reference count is less useful.
>
> Acked-by: Matt Mackall <mpm@selenic.com>
>
> ps: It's much prefered to send patches inline.

Oh. Sorry about that. (It's been a while since I sent patches to LKML.)

--ttuttle


\
 
 \ /
  Last update: 2008-06-05 18:07    [W:0.036 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site