lkml.org 
[lkml]   [2011]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs, proc: Add start_data, end_data, start_brk members to /proc/$pid/stat v2
On Wed, 7 Dec 2011 02:53:15 +0400
Cyrill Gorcunov <gorcunov@gmail.com> wrote:

> Index: linux-2.6.git/Documentation/filesystems/proc.txt
> ===================================================================
> --- linux-2.6.git.orig/Documentation/filesystems/proc.txt
> +++ linux-2.6.git/Documentation/filesystems/proc.txt
> @@ -305,6 +305,9 @@ Table 1-4: Contents of the stat files (a
> blkio_ticks time spent waiting for block IO
> gtime guest time of the task in jiffies
> cgtime guest time of the task children in jiffies
> + start_data address above which program data is placed
> + end_data address above which program data is placed
> + start_brk address above which program data can be expanded with brk() call
> ..............................................................................
>
nitpick.

After reading Wikipedia, http://en.wikipedia.org/wiki/Data_segment

I prefer

start_data address above program data+bss is placed.
end_data address below program data+bss is placed
start_break address above which program heap can be expaned with brk() call

rather than just 'data'.

Thanks,
-Kame



\
 
 \ /
  Last update: 2011-12-07 01:07    [W:0.076 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site