All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: rjones@redhat.com, peterz@infradead.org, arnd@arndb.de,
	naresh.kamboju@linaro.org, anders.roxell@linaro.org,
	daniel.diaz@linaro.org, ben.copeland@linaro.org,
	pbonzini@redhat.com
Subject: [PATCH 0/2] accel/tcg: Fix race condition in tb create/invalidate
Date: Thu,  6 Jul 2023 18:05:35 +0100	[thread overview]
Message-ID: <20230706170537.95959-1-richard.henderson@linaro.org> (raw)

Thanks for the test case, Richard WMJ.  Using the fedora rawhide
kernel-core-6.5.0-0.rc0.20230703gita901a3568fd2.8.fc39.x86_64.rpm
I was able to reproduce the problem within 30 iterations.

I'm now at 650 iterations and counting.


r~


Richard Henderson (2):
  accel/tcg: Split out cpu_exec_longjmp_cleanup
  accel/tcg: Always lock pages before translation

 accel/tcg/internal.h      |  30 ++++-
 accel/tcg/cpu-exec.c      |  47 ++++----
 accel/tcg/tb-maint.c      | 242 ++++++++++++++++++++------------------
 accel/tcg/translate-all.c |  43 ++++++-
 accel/tcg/translator.c    |  34 ++++--
 5 files changed, 239 insertions(+), 157 deletions(-)

-- 
2.34.1



             reply	other threads:[~2023-07-06 17:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-06 17:05 Richard Henderson [this message]
2023-07-06 17:05 ` [PATCH 1/2] accel/tcg: Split out cpu_exec_longjmp_cleanup Richard Henderson
2023-07-06 17:46   ` Richard W.M. Jones
2023-07-07  8:09   ` Philippe Mathieu-Daudé
2023-07-07 10:37     ` Richard Henderson
2023-07-06 17:05 ` [PATCH 2/2] accel/tcg: Always lock pages before translation Richard Henderson
2023-07-06 19:33   ` Richard W.M. Jones
2023-07-07  8:05   ` Richard Henderson

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=20230706170537.95959-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=anders.roxell@linaro.org \
    --cc=arnd@arndb.de \
    --cc=ben.copeland@linaro.org \
    --cc=daniel.diaz@linaro.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=peterz@infradead.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rjones@redhat.com \
    /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.