Changeset 640 for trunk/kernel/libk
- Timestamp:
- Oct 1, 2019, 1:19:00 PM (5 years ago)
- Location:
- trunk/kernel/libk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_barrier.h
r623 r640 56 56 * If the (x_size, y_size, nthreads) arguments are defined in the barrier attributes, 57 57 * the barrier is implemented as a hierarchical quad-tree covering all clusters in the 58 * (x_size * ysize) mesh, including cluster (0,0), with nthreads per cluster, and called 59 * DQT : Distributed Quad Tree. This DQT implementation supposes a regular architecture, 60 uint32_t arity = hal_remote_l32( XPTR( node_cxy , &node_ptr->arity )); 58 * (x_size * ysize) mesh, including cluster (0,0), with nthreads per cluster. 59 * This DQT (Distributed Quad Tree) implementation assumes a regular architecture, 61 60 * and a strong contraint on the threads placement: exactly "nthreads" threads per 62 61 * cluster in the (x_size * y_size) mesh. … … 77 76 * It is implemented in the reference process cluster, and contains 78 77 * - the barrier identifier, 79 * - the implementation type (simple or QDT),78 * - the implementation type (simple or dqt), 80 79 * - an xlist implementing the set of barriers dynamically created by a given process, 81 80 * - a pointer on the implementation specific descriptor (simple_barrier / sqt_barrier). -
trunk/kernel/libk/user_dir.c
r635 r640 294 294 295 295 // delete the vseg 296 if( ref_cxy == local_cxy) 297 vmm_delete_vseg( ref_pid, vpn_base << CONFIG_PPM_PAGE_SHIFT ); 298 else 299 rpc_vmm_delete_vseg_client( ref_cxy, ref_pid, vpn_base << CONFIG_PPM_PAGE_SHIFT ); 300 296 if( ref_cxy == local_cxy) vmm_remove_vseg( ref_ptr, vseg ); 297 else rpc_vmm_remove_vseg_client( ref_cxy, ref_ptr, vseg ); 298 301 299 // release the user_dir descriptor 302 300 req.type = KMEM_KCM; … … 459 457 rpc.rsp = &responses; 460 458 rpc.blocking = false; 461 rpc.index = RPC_VMM_ DELETE_VSEG;459 rpc.index = RPC_VMM_REMOVE_VSEG; 462 460 rpc.thread = this; 463 461 rpc.lid = this->core->lid;
Note: See TracChangeset
for help on using the changeset viewer.