]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Revert "accel/tcg: Unregister the RCU before exiting RR thread"
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Jul 2025 09:28:10 +0000 (11:28 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Jul 2025 17:34:33 +0000 (19:34 +0200)
This reverts commit bc93332fe460211c2d2f4ff50e1a0e030c7b5159,
which was merged prematurely, re-introducing Coverity CID 1547782
(unreachable code).

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250715104015.72663-2-philmd@linaro.org>

accel/tcg/tcg-accel-ops-rr.c

index a578698d071edd05248946bc5ce98163a9ffc184..6eec5c9eee913f24a8afc6cc0a948eade3b7e6a8 100644 (file)
@@ -302,8 +302,6 @@ static void *rr_cpu_thread_fn(void *arg)
         rr_deal_with_unplugged_cpus();
     }
 
-    rcu_unregister_thread();
-
     g_assert_not_reached();
 }