lkml.org 
[lkml]   [2011]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2011-12-05 11:43    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site