From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 0 of 4] Mem event handling improvements Date: Mon, 14 Nov 2011 16:58:30 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: andres@gridcentric.ca, keir.xen@gmail.com, tim@xen.org, olaf@aepfle.de, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org Several improvements to the mem event interface are included in this series. Most notably: - The ability to trigger resume actions in the hypervisor via an event channel kick, as opposed to a domctl. Less locking and more batching. - Improvements to the management of the mem event ring. Improvements on return codes, vcpu pause semantics, and handling of corner cases. Signed-off-by: Andres Lagar-Cavilla Signed-off-by: Adin Scannell Signed-off-by: Keir Fraser xen/arch/x86/hvm/hvm.c | 21 +++- xen/arch/x86/mm/mem_event.c | 173 +++++++++++++++++++++++++++++---------- xen/arch/x86/mm/mem_sharing.c | 27 ++++- xen/arch/x86/mm/p2m.c | 100 ++++++++++++---------- xen/include/asm-x86/mem_event.h | 16 ++- xen/include/xen/sched.h | 5 +- xen/arch/ia64/vmx/vmx_init.c | 2 +- xen/arch/x86/hvm/hvm.c | 5 +- xen/arch/x86/mm/mem_event.c | 3 +- xen/common/event_channel.c | 75 +++++++++++++--- xen/include/xen/event.h | 5 +- xen/include/xen/sched.h | 2 +- xen/arch/x86/mm/mem_access.c | 3 +- xen/arch/x86/mm/p2m.c | 3 +- xen/include/asm-x86/p2m.h | 2 +- xen/arch/x86/mm/mem_event.c | 26 ++++- 16 files changed, 324 insertions(+), 144 deletions(-)