From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 0 of 9] x86/mm: Fixes to sharing, paging and p2m Date: Wed, 01 Feb 2012 14:51:52 -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, tim@xen.org, olaf@aepfle.de, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org This patch series aggregates a number of fixes to different areas of mm: Sharing: - Make sharing play nice with balloon - Make physmap manipulations deall correctly with shared pages - Make sharing debug calls use locked accessors and return useful information Paging: - Eliminate a needless state in the paging state machine - Fix stats/accounting - Fix page type check when nominating or evicting a page P2M: This changes clear hurdles in advance of a fully-synchronized p2m - Eliminate possibility of deadlock in nested lookups - Reorder some locks taken by the sharing subsystem Signed-off-by: Andres Lagar-Cavilla Signed-off-by: Adin Scannell xen/arch/x86/mm.c | 8 +- xen/arch/x86/mm/p2m-ept.c | 3 +- xen/arch/x86/mm/p2m.c | 7 +- xen/include/asm-x86/p2m.h | 7 +- xen/arch/x86/mm/p2m.c | 4 +- xen/arch/x86/hvm/emulate.c | 35 ++--- xen/arch/x86/mm/mem_sharing.c | 28 ++-- xen/include/asm-x86/p2m.h | 91 ++++++++++++++++ xen/arch/x86/mm/shadow/common.c | 3 + xen/arch/x86/mm/shadow/multi.c | 18 +- xen/arch/x86/mm/p2m.c | 21 +++- xen/common/memory.c | 12 +- xen/arch/x86/mm/mem_sharing.c | 6 +- xen/arch/x86/mm/p2m.c | 12 +- xen/common/memory.c | 2 +- xen/include/asm-x86/p2m.h | 6 +- xen/arch/x86/mm/mem_sharing.c | 7 +- xen/arch/x86/mm/mem_sharing.c | 224 ++++++++++++++++++++------------------- 18 files changed, 315 insertions(+), 179 deletions(-)