[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] processus et segments
Le stack est dans le segment data. Alloue du haut vers le bas. La heap est allouee du bas vers le haut. Normalement.
fred.
Pascal Bleser wrote:
>
> Tiens, une question expert de chez expert... ;)
> Je suis pris d'un doute, là.
> Les processus sous UNIX, ils ont 2 ou 3 segments ?
> Je sais bien qu'il y a
> - segment "text": le code
> - segment "data": les données statiques
> mais qu'en est-il du user-stack ?
> Il est alloué dans le segment data ou bien il a un segment propre ?
>
> Et qqn sait comment Linux gère le heap permettant l'allocation dynamique
> de mémoire ?
>
> thanks ;)
>
> --
> -o) Pascal Bleser | Instead of giving Windows
> /\\ C++/UNIX Development | the "three-finger-salute",
> _\_v ATOS Payment Systems | give it the "one-finger-
> Aachen, Germany | goodbye" {jfk/propaganda}
> <pbleser@atos-group.com>--------------<guru@linuxbe.org>
>
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
--
------------------------- * oOo * -------------------------
CiscoSystems
Frederic Detienne, CSE II
Security & Network Services
Tel 32 2 705 55 55
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.