lkml.org 
[lkml]   [2010]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Export mlock information via smaps
On Tue, Aug 17, 2010 at 10:39:31AM +0530, Nikanth Karthikesan wrote:
> Currently there is no way to find whether a process has locked its pages in
> memory or not. And which of the memory regions are locked in memory.
>
> Add a new field to perms field 'l' to export this information. The information
> exported via maps file is not changed.
>
> Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>

Cced Matt.

It would be good if we have a such thing.
In addtion, code itself looks good to me. :)

But I have a question.
Why didn't you change /proc/map?
Due to ABI? So then, Is it okay to change smaps ABI?

I don't know there is any well-known tool to use smap information.
Maybe Matt have the answer.


--
Kind regards,
Minchan Kim


\
 
 \ /
  Last update: 2010-08-17 16:45    [W:0.429 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site