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+
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++) {
> +
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
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
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
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
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
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
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