mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Optimize the latency of lmbench-signal-prot
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
7b58d97aa2
commit
a72c7dadf3
@ -27,7 +27,7 @@ pub fn sys_wait4(
|
||||
return Ok(SyscallReturn::Return(0 as _));
|
||||
};
|
||||
|
||||
let (return_pid, exit_code) = (process.pid(), process.exit_code().unwrap());
|
||||
let (return_pid, exit_code) = (process.pid(), process.exit_code());
|
||||
if exit_status_ptr != 0 {
|
||||
ctx.get_user_space()
|
||||
.write_val(exit_status_ptr as _, &exit_code)?;
|
||||
|
Reference in New Issue
Block a user