zephyr/kernel
Andy Ross ddee1ab4cf kernel/sched: Correct locking in essential thread panic
Calling a (handled/ignored) panic with the scheduler lock held
produces spinlock errors in some circumstances, depending on whether
or not the swap gets reached before another context switch.  Release
the lock around the call, we don't touch any scheduler state on the
path to z_swap(), so this is safe.

Signed-off-by: Andy Ross <andyross@google.com>
2025-02-26 10:10:29 +00:00
..
include
paging
atomic_c.c
banner.c
busy_wait.c
CMakeLists.txt
compiler_stack_protect.c
condvar.c
cpu_mask.c
device.c
dynamic_disabled.c
dynamic.c
errno.c
events.c
fatal.c
float.c
futex.c
idle.c
init_static.c
init.c
ipi.c
irq_offload.c
Kconfig
Kconfig.device
Kconfig.init
Kconfig.mem_domain
Kconfig.obj_core
Kconfig.smp
Kconfig.vm
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c
mempool.c
mmu.c
msg_q.c
mutex.c
nothread.c
obj_core.c
pipe.c
pipes.c
poll.c
priority_queues.c
queue.c
sched.c
sem.c
smp.c
spinlock_validate.c
stack.c
system_work_q.c
thread_monitor.c
thread.c
timeout.c
timer.c
timeslicing.c
usage.c
userspace_handler.c
userspace.c
version.c
work.c
xip.c