From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] 2 MiB alignment in qemu_vmalloc()
Date: Thu, 13 Oct 2011 15:23:24 +0200 [thread overview]
Message-ID: <j76ood$6tl$1@dough.gmane.org> (raw)
In-Reply-To: <4E9699C2.30405@redhat.com>
On 10/13/2011 09:56 AM, Gerd Hoffmann wrote:
>
> Is there some way for apps to figure they are running in valgrind?
> Then we could choose a different alignment automagically.
Yes, valgrind.h (on RH distros that's in package valgrind-devel; there
is a valgrind.pc file to add the correct include path) provides a
RUNNING_ON_VALGRIND macro.
Paolo
next prev parent reply other threads:[~2011-10-13 13:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 18:05 [Qemu-devel] 2 MiB alignment in qemu_vmalloc() Stefan Weil
2011-10-12 20:02 ` Alexander Graf
2011-10-12 20:41 ` Stefan Weil
2011-10-12 20:47 ` Alexander Graf
2011-10-12 21:19 ` Stefan Weil
2011-10-12 21:30 ` Alexander Graf
2011-10-13 7:56 ` Gerd Hoffmann
2011-10-13 13:23 ` Paolo Bonzini [this message]
2011-10-16 8:41 ` Avi Kivity
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='j76ood$6tl$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 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.