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>
Cc: qemu-devel@nongnu.org, laurent@vivier.eu,
	david@gibson.dropbear.id.au, qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] linux-user/ppc: Implement swapcontext syscall
Date: Thu, 19 Jul 2018 08:24:26 -0700	[thread overview]
Message-ID: <221519ed-ca43-7c03-bb20-57c8e744e1d2@linaro.org> (raw)
In-Reply-To: <87wotr4bpv.fsf@linaro.org>

On 07/19/2018 06:05 AM, Alex Bennée wrote:
> I'm confused by the lock_user_struct/unlock_user_struct which AFAICT are
> basically access checks. Is there an implied locking I'm missing?

I have no idea why those have that name.  There's no lock,
just a validation of the underlying pages and a transform to
the corresponding host address.


r~

  reply	other threads:[~2018-07-19 15:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18 20:06 [Qemu-devel] [PATCH] linux-user/ppc: Implement swapcontext syscall Richard Henderson
2018-07-18 22:56 ` Philippe Mathieu-Daudé
2018-07-19 11:13   ` Richard Henderson
2018-07-20  1:40     ` Philippe Mathieu-Daudé
2018-07-19 13:05 ` Alex Bennée
2018-07-19 15:24   ` Richard Henderson [this message]
2018-07-19 15:48     ` Peter Maydell
2018-07-22 19:07 ` Laurent Vivier

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=221519ed-ca43-7c03-bb20-57c8e744e1d2@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@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).