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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 00/22] Steps towards per CPU address-spaces
Date: Tue, 11 Feb 2014 22:40:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Il 11/02/2014 00:53, Edgar E. Iglesias ha scritto:
> 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.)
Right, something like that might be worthwhile.

It might not make much difference until we start ramping
things up significantly (in terms of amount of masters).

We already have a decent amount of masters for PCI, where each device that can do bus-master DMA has basically its own copy of address_space_memory. It has never been a problem in terms of time spent updating the ASes.

Paolo



reply via email to

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