On 23/9/25 04:39, Richard Henderson wrote:
In all cases, we are already within start_exclusive.
Signed-off-by: Richard Henderson <[email protected]>
---
Cc: Alex Bennée" <[email protected]>
Cc: Alexandre Iooss <[email protected]>
Cc: Mahmoud Mandour <[email protected]>
Cc: Pierrick Bouvier <[email protected]>
---
plugins/core.c | 6 ++----
plugins/loader.c | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
To squash:
-- >8 --
diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c
index 9920381a84e..24cdb53e137 100644
--- a/accel/tcg/plugin-gen.c
+++ b/accel/tcg/plugin-gen.c
@@ -102,8 +102,8 @@ static TCGv_i32 gen_cpu_index(void)
/*
* Optimize when we run with a single vcpu. All values using
cpu_index,
* including scoreboard index, will be optimized out.
- * User-mode calls tb_flush when setting this flag. In system-mode, all
- * vcpus are created before generating code.
+ * User-mode calls tb_flush__exclusive when setting this flag.
+ * In system-mode, all vcpus are created before generating code.
*/
if (!tcg_cflags_has(current_cpu, CF_PARALLEL)) {
return tcg_constant_i32(current_cpu->cpu_index);
---
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>