qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]