qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] 2 MiB alignment in qemu_vmalloc()


From: Paolo Bonzini
Subject: Re: [Qemu-devel] 2 MiB alignment in qemu_vmalloc()
Date: Thu, 13 Oct 2011 15:23:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]