[PATCH] Bug in MM_RB debugging
authorDavid Miller <davem@davemloft.net>
Thu, 1 Mar 2007 04:13:13 +0000 (20:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Mar 2007 22:53:38 +0000 (14:53 -0800)
commitd1af65d13f3625543916a85c86d02826df910fcf
tree6f04906a3837bd92d89751925e2b4937439e74c0
parent04a51e66adcdc0de6ffaa488934ce3ffb3818ecf
[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 <davem@davemloft.net>
Cc: Andrea Arcangeli <andrea@novell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c