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

[Xen-changelog] [xen-unstable] mem_event: use mem_event_mark_and_pause() in mem_event_check_ring()



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1315231828 -3600
# Node ID 0268e73809532a4a3ca18a075efcee3c62caf458
# Parent  083f10851dd85cf436eb4c26ac9afe78997b2bca
mem_event: use mem_event_mark_and_pause() in mem_event_check_ring()

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---


diff -r 083f10851dd8 -r 0268e7380953 xen/arch/x86/mm/mem_event.c
--- a/xen/arch/x86/mm/mem_event.c       Mon Sep 05 15:10:09 2011 +0100
+++ b/xen/arch/x86/mm/mem_event.c       Mon Sep 05 15:10:28 2011 +0100
@@ -178,10 +178,7 @@
     }
 
     if ( (curr->domain->domain_id == d->domain_id) && ring_full )
-    {
-        set_bit(_VPF_mem_event, &curr->pause_flags);
-        vcpu_sleep_nosync(curr);
-    }
+        mem_event_mark_and_pause(curr);
 
     mem_event_ring_unlock(d);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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