Changes between Version 20 and Version 21 of replication_distribution


Ignore:
Timestamp:
Oct 13, 2016, 7:13:56 PM (6 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • replication_distribution

    v20 v21  
    5252== 2) User process virtual space organisation ==
    5353
    54 The virtual space of an user process P in a given cluster K is split in 5 fixed size zones called defined by configuration parameters.  Each vzone contains one or several vsegs.
     54The virtual space of an user process P in a given cluster K is split in 5 fixed size zones, defined by configuration parameters.  Each vzone contains one or several vsegs.
    5555
    56  1. The '''utils''' zone is located in the lower part of the virtual space. It contains the three vsegs ''kentry'', ''args'', ''envs'', whose sizes are defined by configuration parameters.  The ''kentry'' vseg has CODE type and contains the code that must be executed to enter the kernel from user space. The ''args'' vseg has DATA type, and contains the process main() thread arguments. The ''envs'' vseg has DATA type and contains the process environment variables.
     56 1. The '''utils''' zone is located in the lower part of the virtual space. It contains the three vsegs ''kentry'', ''args'', ''envs'', whose sizes are defined by configuration parameters.  The ''kentry'' vseg (CODE type) contains the code that must be executed to enter the kernel from user space. The ''args'' vseg (DATA type) contains the process main() thread arguments. The ''envs'' vseg (DATA type) contains the process environment variables.
    5757 1. The '''elf''' zone  is located on top of the '''utils''' zone. It is defined by the CONFIG_USER_ELF_BASE and CONFIG_USER_ELF_SIZE parameters. It contains the ''text'' vseg (CODE type) and ''data'' vseg (DATA type) defining the process binary code and global data. The actual vsegs sizes are defined in the .elf file and reported in the boot_info structure by the boot loader.
    5858 1. The '''heap''' zone is located on top of the '''elf''' zone. It is defined by the CONFIG_USER_HEAP_BASE and CONFIG_USER_HEAP_SIZE parameters. It contains one single ''heap'' vseg, used by the malloc() library.