Re: [Qemu-devel] [PATCH 10/11] tcg/mips: Make direct jump patching thread-safe

2016-04-07 Thread Sergey Fedorov
On 07/04/16 19:01, Paolo Bonzini wrote: > > On 07/04/2016 17:53, Sergey Fedorov wrote: >> Ensure direct jump patching in MIPS is atomic by using >> atomic_read()/atomic_set() for code patching. >> >> Signed-off-by: Sergey Fedorov >> Signed-off-by: Sergey Fedorov >> --- >> tcg/mips/tcg-target.inc

Re: [Qemu-devel] [PATCH 10/11] tcg/mips: Make direct jump patching thread-safe

2016-04-07 Thread Paolo Bonzini
On 07/04/2016 17:53, Sergey Fedorov wrote: > Ensure direct jump patching in MIPS is atomic by using > atomic_read()/atomic_set() for code patching. > > Signed-off-by: Sergey Fedorov > Signed-off-by: Sergey Fedorov > --- > tcg/mips/tcg-target.inc.c | 3 ++- > 1 file changed, 2 insertions(+), 1

[Qemu-devel] [PATCH 10/11] tcg/mips: Make direct jump patching thread-safe

2016-04-07 Thread Sergey Fedorov
From: Sergey Fedorov Ensure direct jump patching in MIPS is atomic by using atomic_read()/atomic_set() for code patching. Signed-off-by: Sergey Fedorov Signed-off-by: Sergey Fedorov --- tcg/mips/tcg-target.inc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tcg/mips/tc