Messages in this thread | | | Date | Mon, 5 Dec 2011 12:40:44 +0200 | From | Gleb Natapov <> | Subject | Re: [PATCH] kvm: make vcpu life cycle separated from kvm instance |
| |
On Mon, Dec 05, 2011 at 12:22:53PM +0200, Avi Kivity wrote: > On 12/05/2011 12:18 PM, Gleb Natapov wrote: > > > > > > We can, but that's a bigger change. > > > > > Is it? I do not see a lot of accesses to vcpu array except those loops. > > > > Well actually some of those loops have to go away and be replaced by a > hash lookup with apic id as key. > Yes, but apic ids are guest controllable, so there should be separate hash that will hold vcpu to gust configured apic id mapping. Shouldn't prevent us from moving to rculist now.
-- Gleb.
| |