zephyr/kernel/include
Andy Ross 9ecc4ead68 sched: Properly account for timeslicing in tickless mode
When adding a new runnable thread in tickless mode, we need to detect
whether it will timeslice with the running thread and reset the timer,
otherwise it won't get any CPU time until the next interrupt fires at
some indeterminate time in the future.

This fixes the specific bug discussed in #7193, but the broader
problem of tickless and timeslicing interacting badly remains.  The
code as it exists needs some rework to avoid all the #ifdef mess.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-08-29 10:01:41 -04:00
..
gen_offset.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel_internal.h kernel: add z_arch_user_string_nlen prototype 2018-07-31 07:47:15 -07:00
kernel_offsets.h cmake: Deprecate the 2 symbols _SYSCALL_{LIMIT,BAD} 2018-08-15 11:46:51 -07:00
kernel_structs.h kernel: Fix bitwise operators with unsigned operators 2018-08-16 19:47:41 -07:00
ksched.h sched: Properly account for timeslicing in tickless mode 2018-08-29 10:01:41 -04:00
kswap.h systemview: add support natively using tracing hooks 2018-08-21 05:45:47 -07:00
offsets_short.h kernel/arch: streamline thread user options 2017-01-24 13:34:50 +00:00
syscall_handler.h userspace: add _k_object_recycle() 2018-08-13 07:19:39 -07:00
timeout_q.h kernel: Fix double-list-removal corruption case in timeout handling 2018-08-26 19:39:52 -07:00
wait_q.h kernel/Kconfig: Reorgnize wait_q and sched algorithm choices 2018-07-03 17:09:15 -04:00