Ignore:
Timestamp:
Apr 10, 2019, 10:09:39 AM (3 years ago)
Author:
alain
Message:

Fix a bug in the vmm_remove_vseg() function: the physical pages
associated to an user DATA vseg were released to the kernel when
the target process descriptor was in the reference cluster.
This physical pages release should be done only when the page
forks counter value is zero.
All other modifications are cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/elf.h

    r457 r625  
    228228
    229229/****************************************************************************************
    230  * This function registers in VMM of the process identified by the <process> argument
    231  * the CODE and DATA vsegs defined in the .elf open file descriptor <file_xp>.
     230 * This function registers in the VSL of the process identified by the <process>
     231 * argument the CODE and DATA vsegs defined in the .elf file descriptor <file_xp>.
    232232 * The segments are not loaded in memory.
    233233 * It also registers the process entry point in VMM.
Note: See TracChangeset for help on using the changeset viewer.