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

[Xen-devel] vm_normal_page() in linux-2.6-xen-sparse/mm/memory.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] vm_normal_page() in linux-2.6-xen-sparse/mm/memory.c
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Sat, 22 Apr 2006 11:04:26 +0900
Delivery-date: Fri, 21 Apr 2006 19:04:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
vm_normal_page() @ linux-2.6-xen-sparse/mm/memory.c
        ...
                if (!vma->vm_flags & VM_RESERVED)
                        print_bad_pte(vma, pte, addr);
        
note:VM_RESERVED=0x00080000

This if clause is always false.
Should it be "if (!(vma->vm_flags & VM_RESERVED))" ?

-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>