From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 0 of 8] x86/mm fixes Date: Wed, 25 Jan 2012 22:53:24 -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: olaf@aepfle.de, tim@xen.org, andres@gridcentric.ca, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org This patch series aggregates a number of fixes: - Fix the paging load operation to correct the m2p entry, and promote the p2m entry to the final guest-accessible type - Fix locking around p2m_teardown - Fix read-only mapping of shared pages - Output to the console the per-domain count of shared pages - Eliminate a stale var from a p2m audit debugtrace printk - Correct accounting of paged out pages when a paging-out is interrupted by a guest access - Simplify (and in some cases eliminate) use of p2m get_gfn*_unlocked - Allow for recursive locking in the mm-locks.h deadlock detection scheme Patches 1, 4 and 6 involve paging, cc'ed Olaf Hering. Patches 2, 7 and 8 lay more groundwork in preparation of fully synchronized p2m access. Signed-off-by: Andres Lagar-Cavilla xen/arch/x86/mm/p2m.c | 18 ++++++++---------- xen/arch/x86/mm/p2m.c | 4 ++-- xen/arch/x86/mm.c | 8 +++++++- xen/common/keyhandler.c | 6 ++++-- xen/arch/x86/mm/p2m.c | 4 ++-- xen/arch/x86/mm/p2m.c | 3 ++- xen/arch/x86/hvm/emulate.c | 35 ++++++++++++++++++++++++++++------- xen/arch/x86/hvm/hvm.c | 5 ++++- xen/arch/x86/hvm/stdvga.c | 12 ++++++++++-- xen/arch/x86/hvm/vmx/vmx.c | 2 +- xen/arch/x86/mm/mem_sharing.c | 2 +- xen/arch/x86/mm/mm-locks.h | 3 ++- 12 files changed, 71 insertions(+), 31 deletions(-)