[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces |
Date: |
Mon, 10 Feb 2014 23:42:35 +0000 |
On 10 February 2014 23:10, Edgar E. Iglesias <address@hidden> wrote:
> My thinking was in terms of trying to minimize the amount of
> AS structures we create in cases were the nr of master outnumber
> the nr of ASs. But there might be ways to achieve being light
> even if we dont explicitely pass AS refs around. Will try to get
> a chance to look at a MemoryRegion based interface instead
> (if no one beats me to it).
Is there that much overhead to creating an AS per master? I guess
you end up recalculating the same memory flatview for every AS
when a memory region gets mapped or unmapped.
In any case, if it's OK to share AddressSpaces between masters
then we can relatively easily do so, since there's already a list
of all AddressSpaces that you can run through to find the one
whose root MemoryRegion is the one you want. (Probably needs
a refcount in the AddressSpace struct as well.)
thanks
-- PMM
- [Qemu-devel] [PATCH v4 22/22] petalogix-ml605: Make the LMB visible only to the CPU, (continued)
- [Qemu-devel] [PATCH v4 22/22] petalogix-ml605: Make the LMB visible only to the CPU, Edgar E. Iglesias, 2014/02/03
- [Qemu-devel] [PATCH v4 16/22] exec: Make cpu_physical_memory_write_rom input an AS, Edgar E. Iglesias, 2014/02/03
- Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces, Peter Maydell, 2014/02/05
- Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces, Andreas Färber, 2014/02/09
- Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces, Edgar E. Iglesias, 2014/02/10
- Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces, Edgar E. Iglesias, 2014/02/10
- Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces, Paolo Bonzini, 2014/02/11