syscall offload regardless of mcexec life and death

Change-Id: I7db089993d3ee5ae6032f5085db2b67cef99fdfb
Refs: #1321
This commit is contained in:
Tomoki Shirasawa
2019-07-25 13:52:23 +09:00
committed by Masamichi Takagi
parent 0d3ef65092
commit 9b3450ee7e
5 changed files with 128 additions and 4 deletions

View File

@ -181,7 +181,6 @@ long do_syscall(struct syscall_request *req, int cpu)
struct syscall_response res;
long rc;
struct thread *thread = cpu_local_var(current);
struct process *proc = thread->proc;
struct ihk_os_cpu_monitor *monitor = cpu_local_var(monitor);
int mstatus = 0;
@ -204,9 +203,6 @@ long do_syscall(struct syscall_request *req, int cpu)
barrier();
if(req->number != __NR_exit_group){
if (proc->nohost) {// host is down
return -EPIPE;
}
++thread->in_syscall_offload;
}