All of lore.kernel.org
 help / color / mirror / Atom feed
From: Viktor Ashirov <vashirov@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [PATCH] tcg: Move tb_phys_invalidate_count to tb_ctx (#457)
Date: Wed, 7 Jul 2021 13:08:07 +0200	[thread overview]
Message-ID: <YOWLFwE+C7P8w4Da@redhat.com> (raw)
In-Reply-To: <20210707035532.421820-1-richard.henderson@linaro.org>

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	other threads:[~2021-07-07 12:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07  3:55 [PATCH] tcg: Move tb_phys_invalidate_count to tb_ctx (#457) Richard Henderson
2021-07-07 11:08 ` Viktor Ashirov [this message]
2021-07-07 11:34 ` Viktor Ashirov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YOWLFwE+C7P8w4Da@redhat.com \
    --to=vashirov@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.