Re: [PATCH 05/12] tests/plugin/mem: fix race condition with callbacks

2024-01-11 Thread Richard Henderson
On 1/12/24 01:23, Pierrick Bouvier wrote: Introduce a lock so global count is correct. This was found by comparing with new inline per_vcpu inline op. Signed-off-by: Pierrick Bouvier --- tests/plugin/mem.c | 3 +++ 1 file changed, 3 insertions(+) Reviewed-by: Richard Henderson r~

[PATCH 05/12] tests/plugin/mem: fix race condition with callbacks

2024-01-11 Thread Pierrick Bouvier
Introduce a lock so global count is correct. This was found by comparing with new inline per_vcpu inline op. Signed-off-by: Pierrick Bouvier --- tests/plugin/mem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/plugin/mem.c b/tests/plugin/mem.c index 44e91065ba7..beca8232342 100644