zephyr/kernel
Guennadi Liakhovetski 09cf3e0910 smp: fix a race when starting / resuming multiple CPUs
cpu_start_fn is global, it's used by the initiator CPU to start or
resume secondary CPUs. However it's possible, that the initiator CPU
goes ahead and starts a second secondary CPU before the first one has
finished using the object. Fix this by creating a local copy of the
global object.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2024-02-16 07:27:04 +01:00
..
include pm: device_runtime: Extend with synchronous runtime PM 2024-02-01 15:03:42 +01:00
paging
CMakeLists.txt
Kconfig kernel: amend wording on CONFIG_SMP_BOOT_DELAY 2024-01-17 11:57:20 -05:00
Kconfig.vm
atomic_c.c
banner.c
busy_wait.c
compiler_stack_protect.c
condvar.c
device.c
dynamic.c kernel: dynamic: reduce verbosity in degenerate case 2024-01-26 06:50:11 -05:00
dynamic_disabled.c
errno.c
events.c
fatal.c
futex.c
idle.c
init.c
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c
mempool.c
mmu.c
msg_q.c
mutex.c
obj_core.c
pipes.c
poll.c
queue.c
sched.c
sem.c
smp.c smp: fix a race when starting / resuming multiple CPUs 2024-02-16 07:27:04 +01:00
stack.c
system_work_q.c
thread.c kernel: thread: Allow stack in coherent memory 2024-02-09 14:23:14 -05:00
timeout.c
timer.c
usage.c
userspace.c
userspace_handler.c
version.c
work.c
xip.c