Re: [Valgrind-users] Execution of a dirty helper: atomic?

2012-12-31 Thread Philippe Waroquiers
On Sun, 2012-12-30 at 22:45 +0100, Emilio Coppa wrote: Thank both of you for your answers. Each CPU core may switch logical threads only at a superblock boundary, but mutual exclusion between threads on different CPU cores is not guaranteed. For

Re: [Valgrind-users] Execution of a dirty helper: atomic?

2012-12-31 Thread Patrick J. LoPresti
On Mon, Dec 31, 2012 at 4:48 AM, Philippe Waroquiers philippe.waroqui...@skynet.be wrote: It is even not ok to use an atomic instruction : first tests have shown that having one atomic instruction on this path makes a multi-threaded Valgrind slower than a serialised Valgrind. You mean a

Re: [Valgrind-users] Show where memory was allocated in addition to freed (MacOS)

2012-12-31 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/12/12 04:40, Philippe Waroquiers wrote: I think (not tested) that the below trivial change will keep the alloc stack trace: Tested and confirmed that it does (although the header printed says it was where freed). Thanks. It might be a good