Re: [PATCH] fs, proc: Add start_data, end_data, start_brk members to/proc/$pid/stat v2

From: Cyrill Gorcunov
Date: Wed Dec 07 2011 - 01:33:14 EST


On Wed, Dec 07, 2011 at 09:02:59AM +0900, KAMEZAWA Hiroyuki wrote:
> On Wed, 7 Dec 2011 02:53:15 +0400
> Cyrill Gorcunov <gorcunov@xxxxxxxxx> 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'.
>

No problem, I'll update (These segments are filled by binfmt handlers).

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/