re: [2.2.14 to 2.2.17pre9] infinite or long loop in shrink_mmap()

Willy Tarreau (willy@novworld.Novecom.Fr)
Thu, 29 Jun 2000 21:59:12 +0200 (CEST)


Hi !

> Today, I reread shrink_mmap() and find that it could enter in an
> infinite loop with 2.2.14 to 2.2.17pre9. I don't know why I have not
> seen this before :-( The counter variable ``count'' may not be

this has been seen before, I just mailed the LKML about it yesterday
evening :-)

seriously speaking, I thought it could run into infinite loops, and
added checkpoints at many places inside the loop. Then I launched 4
mmap002 and saw the counters growing up to 256K iterations, but the
loop is always exited, even when the system seems frozen. I was about
to recompile my kernel to test with the same patch, keeping my traces.

more to come within a few hours, I think.

Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/