Re: [Qemu-devel] [PATCH 4/8] tcg: Init TB's direct jumps before making it visible

2016-03-24 Thread Sergey Fedorov
On 24/03/16 18:40, Alex Bennée wrote: > Sergey Fedorov writes: > >> On 24/03/16 18:11, Alex Bennée wrote: >>> sergey.fedo...@linaro.org writes: From: Sergey Fedorov diff --git a/translate-all.c b/translate-all.c index ca01dd325b8d..f68716e1819f 100644 --- a/translate-all.

Re: [Qemu-devel] [PATCH 4/8] tcg: Init TB's direct jumps before making it visible

2016-03-24 Thread Sergey Fedorov
On 24/03/16 18:11, Alex Bennée wrote: > sergey.fedo...@linaro.org writes: >> From: Sergey Fedorov >> >> diff --git a/translate-all.c b/translate-all.c >> index ca01dd325b8d..f68716e1819f 100644 >> --- a/translate-all.c >> +++ b/translate-all.c >> @@ -1131,19 +1131,6 @@ static void tb_link_page(Tra

Re: [Qemu-devel] [PATCH 4/8] tcg: Init TB's direct jumps before making it visible

2016-03-24 Thread Alex Bennée
Sergey Fedorov writes: > On 24/03/16 18:11, Alex Bennée wrote: >> sergey.fedo...@linaro.org writes: >>> From: Sergey Fedorov >>> >>> diff --git a/translate-all.c b/translate-all.c >>> index ca01dd325b8d..f68716e1819f 100644 >>> --- a/translate-all.c >>> +++ b/translate-all.c >>> @@ -1131,19 +11

Re: [Qemu-devel] [PATCH 4/8] tcg: Init TB's direct jumps before making it visible

2016-03-24 Thread Alex Bennée
sergey.fedo...@linaro.org writes: > From: Sergey Fedorov > > Initialize TB's direct jump list data fields and reset the jumps before > tb_link_page() puts it into the physical hash table and the physical > page list. So TB is completely initialized before it becomes visible. > > Signed-off-by: S

[Qemu-devel] [PATCH 4/8] tcg: Init TB's direct jumps before making it visible

2016-03-24 Thread sergey . fedorov
From: Sergey Fedorov Initialize TB's direct jump list data fields and reset the jumps before tb_link_page() puts it into the physical hash table and the physical page list. So TB is completely initialized before it becomes visible. Signed-off-by: Sergey Fedorov Signed-off-by: Sergey Fedorov --