[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space |
Date: |
Sat, 23 Nov 2013 19:00:51 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
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 though.
>
> Sorry for phone email...
>
> Cheers
>
> ---
> Sent from my phone
>
> On Nov 22, 2013 4:51 PM, "Peter Maydell" <address@hidden
> <mailto:address@hidden>> wrote:
>
> On 22 November 2013 15:15, <address@hidden
> <mailto:address@hidden>> wrote:
> > @@ -176,6 +176,9 @@ typedef struct CPUWatchpoint {
> > sigjmp_buf jmp_env;
> \
> > int exception_index;
> \
> >
> \
> > + /* Per CPU address-space. */
> \
> > + AddressSpace *as;
> \
> > +
> \
>
> Does this really have to live in the env struct rather than
> CPUState ?
>
> thanks
> -- PMM
>
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-devel] [RFC PATCH 0/8] Steps towards per CPU address-spaces, edgar . iglesias, 2013/11/22
- [Qemu-devel] [RFC PATCH 1/8] exec: Make tb_invalidate_phys_addr input an AS, edgar . iglesias, 2013/11/22
- [Qemu-devel] [RFC PATCH 2/8] exec: Make iotlb_to_region input an AS, edgar . iglesias, 2013/11/22
- [Qemu-devel] [RFC PATCH 3/8] exec: Always initialize MemorySection address spaces, edgar . iglesias, 2013/11/22
- [Qemu-devel] [RFC PATCH 4/8] exec: Make memory_region_section_get_iotlb use section AS, edgar . iglesias, 2013/11/22
- [Qemu-devel] [RFC PATCH 5/8] memory: Add MemoryListener to typedefs, edgar . iglesias, 2013/11/22
- [Qemu-devel] [RFC PATCH 6/8] cpu: Add per-cpu address space, edgar . iglesias, 2013/11/22
[Qemu-devel] [RFC PATCH 7/8] exec: On AS changes, only flush affected CPU TLBs, edgar . iglesias, 2013/11/22
[Qemu-devel] [RFC PATCH 8/8] exec: Make ldl_*_phys input an AddressSpace, edgar . iglesias, 2013/11/22