zephyr/kernel
Andy Ross 1c3051459b kernel/sched: Fix race in k_sched_time_slice_set()
If this function is itself interrupted by a timeslice event, the
slicing state can be corrupted.  Just re-use the scheduler lock
instead of using a new spinlock; this is a low-latency function that
won't deadlock.  Found by inspection.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-11-13 17:10:07 -05:00
..
include kernel: Remove duplicated identifier 2018-11-04 11:37:24 -05:00
CMakeLists.txt kernel: New timeout implementation 2018-10-16 15:03:10 -04:00
Kconfig drivers/timer: Select tickless via driver kconfig flag 2018-11-13 17:10:07 -05:00
Kconfig.power_mgmt kernel/kconfig: Move TICKLESS options out of power management tree 2018-10-16 15:03:10 -04:00
alert.c kernel: alert: Declare tracing variables only when needed. 2018-10-31 08:44:47 -04:00
atomic_c.c
compiler_stack_protect.c
device.c kernel: Delimiting the scope of some variables 2018-11-04 11:37:24 -05:00
errno.c kernel: userspace: reserve stack space to store local data 2018-08-17 09:40:52 -07:00
idle.c kernel/sys_clock: Fix build when !SYS_CLOCK_EXISTS 2018-10-16 15:03:10 -04:00
init.c kernel: Delimiting the scope of some variables 2018-11-04 11:37:24 -05:00
int_latency_bench.c
mailbox.c kernel: Delimiting the scope of some variables 2018-11-04 11:37:24 -05:00
mem_domain.c kernel: mem_domain: minor typo fixes 2018-10-29 12:34:12 -04:00
mem_slab.c kernel: Explicitly comparing pointer with NULL 2018-09-28 06:28:41 +05:30
mempool.c sys_clock: Fix unsafe tick count usage 2018-10-16 15:03:10 -04:00
msg_q.c kernel: msq_q: Fix compile warning 2018-10-29 10:52:00 -04:00
mutex.c kernel: mutex: Change variable declaration 2018-11-04 11:37:24 -05:00
pipes.c kernel: Delimiting the scope of some variables 2018-11-04 11:37:24 -05:00
poll.c kernel: Change k_poll_signal api 2018-11-04 11:37:24 -05:00
queue.c kernel: queue: MISRA C compliance. 2018-10-31 08:44:47 -04:00
sched.c kernel/sched: Fix race in k_sched_time_slice_set() 2018-11-13 17:10:07 -05:00
sem.c kernel: sem: Fix few MISRA C violations. 2018-10-17 12:17:58 -04:00
smp.c kernel; Checking functions return 2018-09-14 16:55:37 -04:00
stack.c kernel: stack: Making if's body a compound statement 2018-11-04 11:37:24 -05:00
system_work_q.c kernel: system_work_q: Set dedicated "sysworkq" name. 2018-10-19 07:58:45 -04:00
thread.c kernel/timeout: Eliminate wait_q parameters from API 2018-10-16 15:03:10 -04:00
thread_abort.c kernel: Using boolean expression on ASSERT macros 2018-09-28 06:28:41 +05:30
timeout.c kernel/timeout: Fix build breakage due to stdio name collision 2018-10-17 12:15:44 -04:00
timer.c kernel: New timeout implementation 2018-10-16 15:03:10 -04:00
userspace.c kernel: Make tag identifiers unique 2018-11-06 16:20:15 -05:00
userspace_handler.c kernel: Calling Z_SYSCALL_VERIFY_MSG with boolean expressions 2018-09-28 06:28:41 +05:30
version.c
work_q.c kernel/timeout: Refactor API 2018-10-16 15:03:10 -04:00