]> Git Repo - qemu.git/commit
tci: Make direct jump patching thread-safe
authorSergey Fedorov <[email protected]>
Fri, 22 Apr 2016 16:08:45 +0000 (19:08 +0300)
committerRichard Henderson <[email protected]>
Fri, 13 May 2016 00:06:40 +0000 (14:06 -1000)
commit76442a939ef8fc062b35a890a824de203bb5bd5f
tree3bfd290f9dd64655502b2ef9fc16c60172ed30dc
parent6b587d3cda48e7ba26de8d30bf0d8a7063970715
tci: Make direct jump patching thread-safe

Ensure direct jump patching in TCI is atomic by:
 * naturally aligning a location of direct jump address;
 * using atomic_read()/atomic_set() to load/store the address.

Signed-off-by: Sergey Fedorov <[email protected]>
Signed-off-by: Sergey Fedorov <[email protected]>
Message-Id: <1461341333[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
include/exec/exec-all.h
tcg/tci/tcg-target.inc.c
tci.c
This page took 0.025631 seconds and 4 git commands to generate.