kernel - account for kernel cpu time (ipc, kcalls) in caller

This commit is contained in:
Ben Gras
2011-02-08 13:58:32 +00:00
parent b2d1109737
commit 07bfb4f4e4
6 changed files with 25 additions and 0 deletions

View File

@@ -90,6 +90,8 @@ PUBLIC int do_fork(struct proc * caller, message * m_ptr)
make_zero64(rpc->p_cpu_time_left);
make_zero64(rpc->p_cycles);
make_zero64(rpc->p_kcall_cycles);
make_zero64(rpc->p_kipc_cycles);
/* If the parent is a privileged process, take away the privileges from the
* child process and inhibit it from running by setting the NO_PRIV flag.