[lkml]   [2010]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Xen-devel] [PATCH 02/12] early PV on HVM
On 06/08/2010 06:46 AM, Konrad Rzeszutek Wilk wrote:
>>>> + per_cpu(xen_vcpu, 0) = &HYPERVISOR_shared_info->vcpu_info[0];
> So.. what is the purpose of the per_cpu(xen_vcpu, 0) then?

We still need the percpu info for things like time, but it is mapped out
of the platform device rather than placed at any address we want in
kernel memory (vcpu info placement), where we can access it directly as
a percpu variable. This is only really relevent for the implementation
of the interrupt enable/disable pvops, so it doesn't matter for hvm.


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