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

@@ -156,6 +156,10 @@ PUBLIC void kernel_call(message *m_user, struct proc * caller)
result = EBADREQUEST;
}
/* remember who invoked the kcall so we can bill it its time */
kbill_kcall = caller;
kernel_call_finish(caller, &msg, result);
}