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    [W:0.030 / U:0.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site