|
From: Nuno L. <nun...@sa...> - 2008-04-20 12:07:19
|
> On Wed, 16 Apr 2008, Nuno Lopes wrote: > >> Sorry for the delay, but we have been working on other school projects.. >> I was thinking in going ahead and trying to implement block chaining. I >> have two questions (for now): >> - How did valgrind handle the case when a block is removed from the cache >> and it has other blocks that jump directly into it (i.e. blocks that were >> previously patched)? Did valgrind purged the whole cache? Did it scanned >> the remaining blocks for references and "unpatched" blocks? >> - Other question is what changes need to be done to the blocks in order >> to implement the block chaining? I assume I would need to add some >> prologue to blocks to check for e.g. thread time-slice end and signal >> handling stuff? > > Section 2.3.6 of my dissertation > (http://www.valgrind.org/docs/phd2004.pdf) has a brief description of > chaining, but it doesn't talk about flushing. The 2.4.0 code is the best > thing to look at for definitive answers... Ok, thank you! Nuno |