[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86/mem_event: Fix foregin domain flag in grab_slot
xen/arch/x86/mm/mem_event.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx> 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. */ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |