qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tcg: Move tb_phys_invalidate_count to tb_ctx (#457)


From: Viktor Ashirov
Subject: Re: [PATCH] tcg: Move tb_phys_invalidate_count to tb_ctx (#457)
Date: Wed, 7 Jul 2021 13:34:34 +0200

On Tue, Jul 06, 2021 at 08:55:32PM -0700, Richard Henderson wrote:
> We can call do_tb_phys_invalidate from an iocontext, which has
> no per-thread tcg_ctx.  Move this to tb_ctx, which is global.
> The actual update still takes place with a lock held, so only
> an atomic set is required, not an atomic increment.
> 
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/457
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Viktor Ashirov <vashirov@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]