Messages in this thread | | | Date | Wed, 7 Dec 2011 09:02:59 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [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
| |