qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Initial support for Ilumos build and Illumos-kvm
Date: Fri, 16 Mar 2012 17:28:03 +0100	[thread overview]
Message-ID: <jjvpmj$5tf$1@dough.gmane.org> (raw)
In-Reply-To: <46EC56CF-9AF0-443D-9907-0AAF067DC4AB@nowonline.co.uk>

Il 16/03/2012 14:46, Lee Essen ha scritto:
> It does indeed … this came from the original Joyent code, I must
> admit I did wonder whether gcc would optimise it away. I did consider
> adding something to stop gcc complaining, but I don't fully
> understand why this is necessary given the mlock() bit, so I thought
> it best to leave it alone.

"(void) *(volatile char *)p" should work, but a comment would be nice.

Paolo

  reply	other threads:[~2012-03-16 16:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16  9:23 [Qemu-devel] [PATCH] Initial support for Ilumos build and Illumos-kvm Lee Essen
2012-03-16 10:15 ` Andreas Färber
2012-03-16 11:56 ` Paolo Bonzini
2012-03-16 17:25   ` Lee Essen
2012-03-16 18:15     ` Paolo Bonzini
2012-03-16 13:14 ` Jan Kiszka
2012-03-16 13:46   ` Lee Essen
2012-03-16 16:28     ` Paolo Bonzini [this message]
2012-03-16 17:15       ` Lee Essen
2012-03-17  9:00     ` Jan Kiszka

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='jjvpmj$5tf$1@dough.gmane.org' \
    --to=pbonzini@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 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).