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

Re: [Xen-devel] [PATCH 08/11] evtchn: add FIFO-based event channel hypercalls and port ops



>>> On 02.10.13 at 18:35, David Vrabel <david.vrabel@xxxxxxxxxx> wrote:
> +static void unmap_guest_page(void *virt)
> +{
> +    if ( !virt )
> +        return;
> +
> +    virt = (void *)((unsigned long)virt & PAGE_MASK);
> +
> +    unmap_domain_page_global(virt);
> +    put_page_and_type(mfn_to_page(domain_page_map_to_mfn(virt)));

Did you test this? It should not have worked - you ought to call
domain_page_map_to_mfn() before unmap_domain_page_global().

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®.