Changeset 656 for trunk/kernel/mm/vmm.h
- Timestamp:
- Dec 6, 2019, 12:07:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/vmm.h
r651 r656 312 312 313 313 /********************************************************************************************* 314 * This function removes from the VMM of a process descriptor identified by the <process>315 * argumentthe vseg identified by the <vseg> argument.316 * It is called by the vmm_user_reset(), vmm_global_delete_vseg() andvmm_destroy() functions.314 * This function removes from the VMM of a local process descriptor, identified by 315 * the <process> argument, the vseg identified by the <vseg> argument. 316 * It is called by the vmm_user_reset(), vmm_global_delete_vseg(), vmm_destroy() functions. 317 317 * It must be called by a local thread, running in the cluster containing the modified VMM. 318 318 * Use the RPC_VMM_REMOVE_VSEG if required. … … 324 324 * . for ANON and REMOTE, the vseg is not released, but registered in local zombi_list. 325 325 * . for STACK the vseg is released to the local stack allocator. 326 * . for all other types, the vseg is released to the local kmem.326 * . for all other types, the vseg descriptor is released to the local kmem. 327 327 * Regarding the physical pages release: 328 328 * . for KERNEL and FILE, the pages are not released to kmem. 329 * . for CODE and STACK, the pages are released to local kmem when they are not COW.329 * . for CODE and STACK, the pages are released to local kmem. 330 330 * . for DATA, ANON and REMOTE, the pages are released to relevant kmem only when 331 331 * the local cluster is the reference cluster.
Note: See TracChangeset
for help on using the changeset viewer.