zephyr/kernel
Andy Ross 6a153efc1b kernel/timeout: Fix timeslicing edge case in SMP
The timeout code has an optimization where it refuses to send a new
timeout to the driver unless it is sooner than one already scheduled.
This won't work on SMP, though, because the timeout value when
timeslicing is enabled depends on the current thread, and on SMP the
decision as to the next thread will not be made until later (when we
swap, or exit an interrupt).

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-09-26 16:54:06 -04:00
..
include kernel/sched: Reset time slice on swap in SMP 2019-09-26 16:54:06 -04:00
atomic_c.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
CMakeLists.txt kernel: consolidate error handling code 2019-07-25 15:06:58 -07:00
compiler_stack_protect.c kernel: consolidate error handling code 2019-07-25 15:06:58 -07:00
device.c [Code coverage]: Fix the issue of function code coverage in device.c. 2019-09-17 12:35:30 +08:00
errno.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
fatal.c kernel: remove z_fatal_print() 2019-09-12 05:17:39 -04:00
futex.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
idle.c kernel/idle: Use normal idle in SMP when IPI is available 2019-09-26 16:54:06 -04:00
init.c kernel/thread: Must always initialize is_idle field 2019-09-26 16:54:06 -04:00
Kconfig tests: increase main stack size for x86 with ztest 2019-08-05 13:25:50 +02:00
Kconfig.power_mgmt power: modify HAS_STATE_SLEEP_ Kconfig options 2019-03-26 13:27:55 -04:00
mailbox.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mem_domain.c userspace: adjust arch memory domain interface 2019-08-05 13:25:50 +02:00
mem_slab.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mempool.c malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
msg_q.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
mutex.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
pipes.c kernel/thread: Must always initialize is_idle field 2019-09-26 16:54:06 -04:00
poll.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
queue.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
sched.c kernel/idle: Use normal idle in SMP when IPI is available 2019-09-26 16:54:06 -04:00
sem.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
smp.c kernel/smp: Rename smp_init() 2019-06-05 17:15:55 -04:00
stack.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
system_work_q.c kernel: system_work_q: Set dedicated "sysworkq" name. 2018-10-19 07:58:45 -04:00
thread_abort.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
thread.c kernel/thread: Must always initialize is_idle field 2019-09-26 16:54:06 -04:00
timeout.c kernel/timeout: Fix timeslicing edge case in SMP 2019-09-26 16:54:06 -04:00
timer.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
userspace_handler.c kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
userspace.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
version.c doc: add kernel version API to doxygen 2018-12-08 17:24:53 -05:00
work_q.c kernel: Fix usage of CONFIG_SYS_CLOCK_EXISTS 2019-05-15 10:44:59 +02:00