lkml.org 
[lkml]   [2010]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Xen-devel] [PATCH 02/12] early PV on HVM
On Tue, 8 Jun 2010, Konrad Rzeszutek Wilk wrote:
> > > > + HYPERVISOR_shared_info = (struct shared_info *)shared_info_page;
> > > > +
> > > > + /* Don't do the full vcpu_info placement stuff until we have a
> > > > + possible map and a non-dummy shared_info. */
> > >
> > > Might want to mention where the full vpcu placement is done.
> >
> > The comment is not accurate, we actually don't do any vcpu_info
> > placement on hvm because it is not very useful there.
> > Better just to remove the comment (I have done so in my tree).
> >
> > > > + per_cpu(xen_vcpu, 0) = &HYPERVISOR_shared_info->vcpu_info[0];
> > >
> So.. what is the purpose of the per_cpu(xen_vcpu, 0) then?
>

the vcpu info placement memory area is stored in per_cpu(xen_vcpu_info, cpu);
per_cpu(xen_vcpu, cpu) is just a pointer to that area if it is
available, otherwise it points to the vcpu_info struct in the shared
info page.



\
 
 \ /
  Last update: 2010-06-08 17:59    [W:0.086 / U:7.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site