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

From: KAMEZAWA Hiroyuki
Date: Tue Dec 06 2011 - 19:04:17 EST


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'.

Thanks,
-Kame

--
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/