WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] mem_event: use mem_event_mark_and_pause() in mem_eve

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] mem_event: use mem_event_mark_and_pause() in mem_event_check_ring()
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 05 Sep 2011 15:19:28 +0200
Delivery-date: Mon, 05 Sep 2011 06:20:42 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1315228774; l=725; s=domk; d=aepfle.de; h=To:From:Date:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:X-RZG-CLASS-ID:X-RZG-AUTH; bh=Ars2tNWsAtSUsLlkAdTJtZ/48Og=; b=KjSVceJ3xJ0yBMh6GIb0G7EIlRuI1kyHzrTJhEcxVO1rK3Is0Qv4T4nmnvxSoevRrRs uysJm7PhSW6B32LOAHIqS4l5neGBdFoRjlrczl4O1nonoQOsd0BDbpMDduFqIa3lxjDhA HNxIhrGwJwjiSmeCxLBYWgQiHnPYoycNrSc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1315228750 -7200
# Node ID c703c8e56b81b538e1a6c64dca9150c608fc99d7
# Parent  b2c8dacb2dc08bd93e4926eb0c2c7823d40e2174
mem_event: use mem_event_mark_and_pause() in mem_event_check_ring()

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

diff -r b2c8dacb2dc0 -r c703c8e56b81 xen/arch/x86/mm/mem_event.c
--- a/xen/arch/x86/mm/mem_event.c
+++ b/xen/arch/x86/mm/mem_event.c
@@ -178,10 +178,7 @@ int mem_event_check_ring(struct domain *
     }
 
     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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] mem_event: use mem_event_mark_and_pause() in mem_event_check_ring(), Olaf Hering <=