qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>,
	"Peter Maydell" <peter.maydell@linaro.org>
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
	iii@linux.ibm.com, qemu-devel@nongnu.org
Subject: Re: [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c
Date: Mon, 16 Jan 2023 09:21:56 -1000	[thread overview]
Message-ID: <3d4667fe-a593-ae3d-76fd-68f181f88918@linaro.org> (raw)
In-Reply-To: <87bkmye8xx.fsf@linaro.org>

On 1/16/23 06:27, Alex Bennée wrote:
> Although looking at the test I'm beginning to wonder what the sync point
> is between the mutator and the read/write threads?

What do you mean?

There is no explicit sync, because the mutator always leaves each page with the (one) 
permission that the read/write/execute thread requires.

Within qemu... the sync point is primarily the syscall for read/write, and the tb 
invalidate (during the mprotect) or the mmap lock for new translation for execute.


r~



  parent reply	other threads:[~2023-01-16 19:22 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24 15:18 [PATCH 0/4] accel/tcg: Fixes for user-only page tracking Richard Henderson
2022-12-24 15:18 ` [PATCH 1/4] accel/tcg: Fix tb_invalidate_phys_page_unwind Richard Henderson
2022-12-28 12:49   ` [PATCH 1a/4] " Philippe Mathieu-Daudé
2022-12-28 12:49     ` [PATCH 1b/4] accel/tcg: Unindent tb_invalidate_phys_page_unwind Philippe Mathieu-Daudé
2022-12-28 12:52       ` Philippe Mathieu-Daudé
2022-12-28 12:52     ` [PATCH 1a/4] accel/tcg: Fix tb_invalidate_phys_page_unwind Philippe Mathieu-Daudé
2022-12-24 15:18 ` [PATCH 2/4] accel/tcg: Use g_free_rcu for user-exec interval trees Richard Henderson
2022-12-28  7:19   ` Philippe Mathieu-Daudé
2022-12-24 15:18 ` [PATCH 3/4] accel/tcg: Handle false negative lookup in page_check_range Richard Henderson
2022-12-28  7:24   ` Philippe Mathieu-Daudé
2022-12-28 12:53     ` Philippe Mathieu-Daudé
2022-12-28 17:36     ` Richard Henderson
2022-12-28 18:27       ` Philippe Mathieu-Daudé
2022-12-28 18:30         ` Richard Henderson
2022-12-28 18:53           ` Philippe Mathieu-Daudé
2022-12-24 15:18 ` [PATCH 4/4] tests/tcg/multiarch: add vma-pthread.c Richard Henderson
2022-12-27 17:23   ` Alex Bennée
2023-01-13 15:17   ` Peter Maydell
2023-01-13 17:10     ` Alex Bennée
2023-01-16 12:40       ` Philippe Mathieu-Daudé
2023-01-16 15:07         ` Peter Maydell
2023-01-16 16:27           ` Alex Bennée
2023-01-16 16:48             ` Peter Maydell
2023-01-16 17:09               ` Alex Bennée
2023-01-16 19:21             ` Richard Henderson [this message]
2023-01-20 14:58       ` Peter Maydell

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=3d4667fe-a593-ae3d-76fd-68f181f88918@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=iii@linux.ibm.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).