[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C0E6B3F.3080404@goop.org>
Date: Tue, 08 Jun 2010 09:09:35 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
CC: Stefano Stabellini <stefano.stabellini@...citrix.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
"Yaozu (Eddie) Dong" <eddie.dong@...el.com>,
"ddutile@...hat.com" <ddutile@...hat.com>,
"sheng@...ux.intel.com" <sheng@...ux.intel.com>
Subject: Re: [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.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists