lkml.org 
[lkml]   [2009]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC Patch] getrusage: fill ru_ixrss, ru_idrss and ru_isrss fields
KOSAKI Motohiro wrote:
> The next three fields, the subject of this patch, are named ru_XXrss:
> though the 80-column comment omits to say "resident set" before "size",
> I believe they'd be expected to account (subdivided) resident set sizes?
>
>
> your calculation is not rss nor not integral.
>

Hmm, I misunderstood rss here. Does it mean the memory stayed in
physical mem? i.e. not swapped out.

So, if I want to get those rss statistics, I have to add some more
mm_counter by myself? I only find file_rss and anon_rss in mm_struct.

Thanks.



\
 
 \ /
  Last update: 2009-12-08 09:53    [W:0.039 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site