mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 23:01:56 +00:00
In uniprocessor mode, the kernel knows when a context switch "is coming" because of the cache optimization and can use that to do things like update time slice state. But on SMP the scheduler state may be updated on the other CPU at any time, so we don't know that a switch is going to happen until the last minute. Expose reset_time_slice() as a public function and call it when needed out of z_swap(). Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
---|---|---|
.. | ||
gen_offset.h | ||
kernel_internal.h | ||
kernel_offsets.h | ||
kernel_structs.h | ||
ksched.h | ||
kswap.h | ||
offsets_short.h | ||
syscall_handler.h | ||
timeout_q.h | ||
wait_q.h |