seL4/include/kernel
Curtis Millar 8373f0a0a6 mcs: Defer charging budget in preempted invocation
Rather than charge consumed time to the current thread at the point
where it is exhausted in a long-running syscall, we only check whether
checkBudget would fail and raise an exception if it would. We then
always charge after handleInvocation rather than avoid-double charging.

This is done as it is easier to add the exhaustion case in the abstract
spec in this manner (without also adding changes to the current SC).

Signed-off-by: Curtis Millar <curtis@curtism.me>
2021-04-30 12:16:09 +10:00
..
boot.h replacing all ifndef with pargma once 2020-03-23 11:04:46 +11:00
cspace.h replacing all ifndef with pargma once 2020-03-23 11:04:46 +11:00
faulthandler.h replacing all ifndef with pargma once 2020-03-23 11:04:46 +11:00
sporadic.h Rename MAX_BUDGET to MAX_PERIOD 2021-04-29 11:51:54 +10:00
stack.h replacing all ifndef with pargma once 2020-03-23 11:04:46 +11:00
thread.h mcs: Defer charging budget in preempted invocation 2021-04-30 12:16:09 +10:00
traps.h KernelBenchmarksTrackUtilisation: Add more stats 2020-07-15 15:15:27 +10:00
vspace.h Make kernel log buffer derived from cmake config 2020-11-10 16:24:43 +11:00