This will serve as the base for async_safe_run_on_cpu. Because start_exclusive uses CPU_FOREACH, merge exclusive_lock with qemu_cpu_list_lock: together with a call to exclusive_idle (via cpu_exec_start/end) in cpu_list_add, this protects exclusive work against concurrent CPU addition and removal. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| freebsd | ||
| i386 | ||
| netbsd | ||
| openbsd | ||
| sparc | ||
| sparc64 | ||
| x86_64 | ||
| Makefile.objs | ||
| bsd-mman.h | ||
| bsdload.c | ||
| elfload.c | ||
| errno_defs.h | ||
| main.c | ||
| mmap.c | ||
| qemu.h | ||
| signal.c | ||
| strace.c | ||
| syscall.c | ||
| syscall_defs.h | ||
| uaccess.c | ||