Re: [PATCH] cpus-common: stop using mb_set/mb_read

2023-04-28 Thread Richard Henderson
On 4/28/23 11:17, Paolo Bonzini wrote: Use a store-release at the end of the work item, and a load-acquire when waiting for the item to be completed. This is the standard message passing pattern and is both enough and clearer than mb_read/mb_set. Signed-off-by: Paolo Bonzini --- Reviewed-by:

[PATCH] cpus-common: stop using mb_set/mb_read

2023-04-28 Thread Paolo Bonzini
Use a store-release at the end of the work item, and a load-acquire when waiting for the item to be completed. This is the standard message passing pattern and is both enough and clearer than mb_read/mb_set. Signed-off-by: Paolo Bonzini --- cpus-common.c | 4 ++-- 1 file changed, 2 insertions(+