[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC PATCH 3/3] Implement 3-level event channel routines.



>>> On 02.01.13 at 17:45, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Mon, 2012-12-31 at 18:22 +0000, Wei Liu wrote:
>> +    mapping = __map_domain_page_global(page);
> 
> I don't think you can validly use map_domain_page for a long lived
> mapping. domain_page.h says "Allow temporary mapping of domain page
> frames into Xen space.".

That's what distinguishes map_domain_page_global() from
map_domain_page().

> Are these array per-vcpu or shared? Because if they are per-vcpu you
> don't need the global variant.

You still would, as the non-global set of mappings that can be
active at a time is limited. But the leaf pages ought to be shared
anyway.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.