[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix VM_RESERVED check in vm_normal_page(). Pointed out by
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 1171e42b900fa74413c0c762fc8f58dd5b08a8c4 # Parent 8db5ac82c20f0374fdf35eccad935d55d7edb2d9 Fix VM_RESERVED check in vm_normal_page(). Pointed out by Isaku Yamahata. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r 8db5ac82c20f -r 1171e42b900f linux-2.6-xen-sparse/mm/memory.c --- a/linux-2.6-xen-sparse/mm/memory.c Fri Apr 21 18:09:32 2006 +0100 +++ b/linux-2.6-xen-sparse/mm/memory.c Sat Apr 22 09:45:45 2006 +0100 @@ -405,7 +405,7 @@ struct page *vm_normal_page(struct vm_ar * Remove this test eventually! */ if (unlikely(!pfn_valid(pfn))) { - if (!vma->vm_flags & VM_RESERVED) + if (!(vma->vm_flags & VM_RESERVED)) print_bad_pte(vma, pte, addr); return NULL; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |