Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-02-03 Thread Paolo Bonzini
On 03/02/2015 17:17, Richard Henderson wrote: >> > @@ -759,7 +760,9 @@ static void page_flush_tb_1(int level, void **lp) >> > PageDesc *pd = *lp; >> > >> > for (i = 0; i < V_L2_SIZE; ++i) { >> > -pd[i].first_tb = NULL; >> > +for (j = 0; j < MAX_CPUS; j+

Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-02-03 Thread Richard Henderson
On 01/16/2015 09:19 AM, fred.kon...@greensocs.com wrote: > @@ -759,7 +760,9 @@ static void page_flush_tb_1(int level, void **lp) > PageDesc *pd = *lp; > > for (i = 0; i < V_L2_SIZE; ++i) { > -pd[i].first_tb = NULL; > +for (j = 0; j < MAX_CPUS; j++) { > +

Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-02-02 Thread Peter Maydell
On 2 February 2015 at 08:39, Frederic Konrad wrote: > On 29/01/2015 16:24, Peter Maydell wrote: >> >> On 16 January 2015 at 17:19, wrote: >>> >>> From: KONRAD Frederic >>> >>> We need a different TranslationBlock list for each core in case of >>> multithread >>> TCG. >>> >>> Signed-off-by: KONR

Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-02-02 Thread Frederic Konrad
On 29/01/2015 16:24, Peter Maydell wrote: On 16 January 2015 at 17:19, wrote: From: KONRAD Frederic We need a different TranslationBlock list for each core in case of multithread TCG. Signed-off-by: KONRAD Frederic --- translate-all.c | 40 ++-- 1 fil

Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-01-29 Thread Peter Maydell
On 16 January 2015 at 17:19, wrote: > From: KONRAD Frederic > > We need a different TranslationBlock list for each core in case of multithread > TCG. > > Signed-off-by: KONRAD Frederic > --- > translate-all.c | 40 ++-- > 1 file changed, 22 insertions(+), 18

Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-01-29 Thread Mark Burton
I’ll let Fred answer the other points you make - which might help explain what we’re finding.. But - for this one… The idea for now is to keep things simple and have a thread per CPU and a ‘cache’ per thread. (Later we can look at reducing the caches). What we mean by a ‘cache’ needs to be clea

Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-01-27 Thread Frederic Konrad
On 27/01/2015 15:45, Alex Bennée wrote: fred.kon...@greensocs.com writes: From: KONRAD Frederic We need a different TranslationBlock list for each core in case of multithread TCG. Signed-off-by: KONRAD Frederic --- translate-all.c | 40 ++-- 1 file cha

Re: [Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-01-27 Thread Alex Bennée
fred.kon...@greensocs.com writes: > From: KONRAD Frederic > > We need a different TranslationBlock list for each core in case of multithread > TCG. > > Signed-off-by: KONRAD Frederic > --- > translate-all.c | 40 ++-- > 1 file changed, 22 insertions(+), 18 d

[Qemu-devel] [RFC 02/10] use a different translation block list for each cpu.

2015-01-16 Thread fred . konrad
From: KONRAD Frederic We need a different TranslationBlock list for each core in case of multithread TCG. Signed-off-by: KONRAD Frederic --- translate-all.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/translate-all.c b/translat