__host_update_process_range in add_process_memory_range is disabled (in process.c), futex with FUTEX_WAIT_BITSET and time-out is implemented by using pause() (in syscall.c).
This commit is contained in:
parent
10d6400d80
commit
57c48dea90
@@ -187,9 +187,11 @@ int add_process_memory_range(struct process *process,
|
||||
update_process_page_table(process, range, 0);
|
||||
}
|
||||
|
||||
#if 0 // disable __host_update_process_range() in add_process_memory_range(), because it has no effect on the actual mapping on the MICs side.
|
||||
if (!(flag & VR_REMOTE)) {
|
||||
__host_update_process_range(process, range);
|
||||
}
|
||||
#endif
|
||||
|
||||
list_add_tail(&range->list, &process->vm->vm_range_list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user