Re: [Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space

2013-11-23 Thread Edgar E. Iglesias
On Sat, Nov 23, 2013 at 07:00:51PM +0100, Andreas Färber wrote: > Am 22.11.2013 17:02, schrieb Edgar E. Iglesias: > > Hi, no I actually had it in cpustate first but had to do env-get-cpu all > > over so i moved it to env. Iiuc env-get-cpu involves a dyn typecheck. > > No, it doesn't any more, it's

Re: [Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space

2013-11-23 Thread Andreas Färber
Am 22.11.2013 17:02, schrieb Edgar E. Iglesias: > Hi, no I actually had it in cpustate first but had to do env-get-cpu all > over so i moved it to env. Iiuc env-get-cpu involves a dyn typecheck. No, it doesn't any more, it's just a pointer offset. Andreas > I havent meassured the perf impact tho

Re: [Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space

2013-11-22 Thread Edgar E. Iglesias
Hi, no I actually had it in cpustate first but had to do env-get-cpu all over so i moved it to env. Iiuc env-get-cpu involves a dyn typecheck. I havent meassured the perf impact though. Sorry for phone email... Cheers --- Sent from my phone On Nov 22, 2013 4:51 PM, "Peter Maydell" wrote: > On

Re: [Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space

2013-11-22 Thread Peter Maydell
On 22 November 2013 15:15, wrote: > @@ -176,6 +176,9 @@ typedef struct CPUWatchpoint { > sigjmp_buf jmp_env; \ > int exception_index;\ >

[Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space

2013-11-22 Thread edgar . iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- cputlb.c|4 ++-- exec.c | 31 +++ include/exec/cpu-defs.h |3 +++ include/exec/exec-all.h |1 + include/exec/softmmu_template