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

Re: [Xen-devel] [PATCH] x86/mem_event: Fix foregin domain flag in grab_slot



At 10:06 -0400 on 12 Apr (1334225202), Andres Lagar-Cavilla wrote:
> diff -r 84c3a14dc28a -r c74fe64aafeb xen/arch/x86/mm/mem_event.c
> --- a/xen/arch/x86/mm/mem_event.c
> +++ b/xen/arch/x86/mm/mem_event.c
> @@ -415,7 +415,7 @@ int __mem_event_claim_slot(struct domain
>      if ( (current->domain == d) && allow_sleep )
>          return mem_event_wait_slot(med);
>      else
> -        return mem_event_grab_slot(med, 1);
> +        return mem_event_grab_slot(med, (current->domain != d));
>  }
>  
>  /* Registered with Xen-bound event channel for incoming notifications. */

Applied, thanks.

Tim.

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