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-changelog

[Xen-changelog] [linux-2.6.18-xen] Only x86 does not refcount VM_FOREIGN

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] Only x86 does not refcount VM_FOREIGN ptes.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Dec 2007 13:50:32 -0800
Delivery-date: Wed, 12 Dec 2007 13:51:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197454287 0
# Node ID ca1dd3c0daa9723380c49d102181f5624e912b8b
# Parent  b865b15fb54b35e08940b8143c0e3392effc07e9
Only x86 does not refcount VM_FOREIGN ptes.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 mm/memory.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b865b15fb54b -r ca1dd3c0daa9 mm/memory.c
--- a/mm/memory.c       Mon Dec 10 15:04:49 2007 +0000
+++ b/mm/memory.c       Wed Dec 12 10:11:27 2007 +0000
@@ -396,7 +396,7 @@ struct page *vm_normal_page(struct vm_ar
                        return NULL;
        }
 
-#ifdef CONFIG_XEN
+#if defined(CONFIG_XEN) && defined(CONFIG_X86)
        /* XEN: Covers user-space grant mappings (even of local pages). */
        if (unlikely(vma->vm_flags & VM_FOREIGN))
                return NULL;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] Only x86 does not refcount VM_FOREIGN ptes., Xen patchbot-linux-2.6.18-xen <=