qemu-e2k/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 monitor: Move target-dependent HMP commands to hmp-cmds-target.c 2023-02-04 07:56:54 +01:00
hmp-cmds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-target.c monitor: Rename misc.c to hmp-target.c 2023-02-04 07:56:54 +01:00
hmp.c monitor: do not use mb_read/mb_set for suspend_cnt 2023-05-25 10:18:33 +02:00
meson.build monitor: Rename misc.c to hmp-target.c 2023-02-04 07:56:54 +01:00
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 monitor: Drop unnecessary includes 2023-02-04 07:56:52 +01:00
qmp-cmds.c qmp: 'add_client' actually expects sockets 2023-03-13 15:40:41 +04:00
qmp.c monitor: do not use mb_read/mb_set 2023-05-25 10:18:33 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00