RE: Linux 2.4.7-ac1

From: Paul Larson (
Date: Thu Jul 26 2001 - 07:42:10 EST

I was running the Linux Test Project's latest testsuite against 2.4.7-ac1 and
noticed one test failed that did not fail in 2.4.7 and 2.4.6-ac5. The
pth_str02 test (simple test that tries to create 1000 threads) could only
make it up to 980 threads on my machine. Saw this change in fork.c with

- max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 2;
+ max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 16;

Any reason why this was done? I think the max I was ever able to hit before
was somewhere around 1018 or so, so it's not that big of a drop. I was just
wondering why it was being further limited since I didn't see anything in the
changelog about it.

Paul Larson
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:28 EST