Changeset 408 for trunk/kernel/mm/vseg.h


Ignore:
Timestamp:
Dec 5, 2017, 4:20:07 PM (4 years ago)
Author:
alain
Message:

Fix several bugs in the fork() syscall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/vseg.h

    r407 r408  
    6868/**********************************************************************************************
    6969 * This structure defines a virtual segment descriptor.
     70 * - The VSL contains only local vsegs, but is implemented as an xlist, because it can be
     71 *   accessed by thread running in a remote cluster.
     72 * - The zombi list is used by the local MMAP allocator. It is implemented as a local list.
    7073 *********************************************************************************************/
    7174
    7275typedef struct vseg_s
    7376{
    74         list_entry_t      list;         /*! all vsegs in same process / same free list if mmap   */
     77        xlist_entry_t     xlist;        /*! all vsegs in same VSL (or same zombi list)           */
     78        list_entry_t      zlist;        /*! all vsegs in same zombi list                         */
    7579        struct vmm_s    * vmm;          /*! pointer on associated VM manager                     */
    7680    uint32_t          type;         /*! vseg type                                            */
Note: See TracChangeset for help on using the changeset viewer.