From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 0 of 2] Sharing bug fixes Date: Tue, 24 Apr 2012 15:20:17 -0400 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.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: andres@gridcentric.ca, tim@xen.org List-Id: xen-devel@lists.xenproject.org Two small sharing bug fixes: - Stats were going out of sync if unshare failed with ENOMEM. - The test for a hole in the physmap in sharing_add_to_physmap was incomplete. This latter patch adds feedback from Tim Deegan. Signed-off-by: Andres Lagar-Cavilla xen/arch/x86/mm/mem_sharing.c | 2 ++ xen/arch/x86/mm/mem_sharing.c | 7 ++++--- xen/include/asm-x86/p2m.h | 8 ++++++++ 3 files changed, 14 insertions(+), 3 deletions(-)