Commit:     d1af65d13f3625543916a85c86d02826df910fcf
Parent:     04a51e66adcdc0de6ffaa488934ce3ffb3818ecf
Author:     David Miller <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 28 20:13:13 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Mar 1 14:53:38 2007 -0800

    [PATCH] Bug in MM_RB debugging
    The code is seemingly trying to make sure that rb_next() brings us to
    successive increasing vma entries.
    But the two variables, prev and pend, used to perform these checks, are
    never advanced.
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
    Cc: Andrea Arcangeli <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/mmap.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/mm/mmap.c b/mm/mmap.c
index eb509ae..84f997d 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -299,6 +299,8 @@ static int browse_rb(struct rb_root *root)
                        printk("vm_end %lx < vm_start %lx\n", vma->vm_end, 
                pn = nd;
+               prev = vma->vm_start;
+               pend = vma->vm_end;
        j = 0;
        for (nd = pn; nd; nd = rb_prev(nd)) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to