Re: [Qemu-devel] [PATCH v2 2/6] tcg: set up tb->page_addr before insertion

2016-07-08 Thread Sergey Fedorov
On 07/07/16 17:08, Sergey Fedorov wrote: > On 05/07/16 19:18, Alex Bennée wrote: >> This ensures that if we find the TB on the slow path that tb->page_addr >> is correctly set before being tested. >> >> Signed-off-by: Alex Bennée > Reveiwed-by: Sergey Fedorov However, we may need to use smp_wmb(

Re: [Qemu-devel] [PATCH v2 2/6] tcg: set up tb->page_addr before insertion

2016-07-07 Thread Sergey Fedorov
On 05/07/16 19:18, Alex Bennée wrote: > This ensures that if we find the TB on the slow path that tb->page_addr > is correctly set before being tested. > > Signed-off-by: Alex Bennée Reveiwed-by: Sergey Fedorov > --- > translate-all.c | 8 > 1 file changed, 4 insertions(+), 4 deletion

[Qemu-devel] [PATCH v2 2/6] tcg: set up tb->page_addr before insertion

2016-07-05 Thread Alex Bennée
This ensures that if we find the TB on the slow path that tb->page_addr is correctly set before being tested. Signed-off-by: Alex Bennée --- translate-all.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/translate-all.c b/translate-all.c index 96efe48..97e834a 100644