On 07/04/16 18:53, Sergey Fedorov wrote: > From: Sergey Fedorov <serge.f...@gmail.com> > > When patching translated code for direct block chaining/unchaining, > modification of concurrently executing code can happen in multi-threaded > execution. Currently only user-mode is affected. To make direct block > patching > safe, some care must be taken to make sure that the code modification is made > atomic and concurrently executed code is guaranteed to be consistent. > > This patch series fixes all supported TCG targets using direct patching and > documents the requirement for direct jump patching be atomic and thread-safe. > > The series' tree can be found in a public git repository [1]. > > [1] https://github.com/sergefdrv/qemu/tree/atomic-tb-patching >
Sorry, the first two patches got there by mistake... Kind regards, Sergey