qemu/monitor
Paolo Bonzini eea7cd3fc5 monitor: do not use mb_read/mb_set
Instead of relying on magic memory barriers, document the pattern that
is being used.  It is the one based on Dekker's algorithm, and in this
case it is embodied as follows:

    enqueue request;              sleeping = true;
    smp_mb();                     smp_mb();
    if (sleeping) kick();         if (!have a request) yield();

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-05-25 10:18:33 +02:00
..
fds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-cmds-target.c
hmp-cmds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-target.c
hmp.c monitor: do not use mb_read/mb_set for suspend_cnt 2023-05-25 10:18:33 +02:00
meson.build
monitor-internal.h monitor: introduce qmp_dispatcher_co_wake 2023-05-25 10:18:33 +02:00
monitor.c monitor: introduce qmp_dispatcher_co_wake 2023-05-25 10:18:33 +02:00
qmp-cmds-control.c
qmp-cmds.c
qmp.c monitor: do not use mb_read/mb_set 2023-05-25 10:18:33 +02:00
trace-events
trace.h