[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.