lkml.org 
[lkml]   [1998]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Todays Kernel Release - 2.0.37pre3
Date
> You should never have got a working kernel with more NR_TASKS set to
> more than 4092 (4090 with APM enabled). Do you use APM?

Nope. It's possible that I misremembered, and had only increased to
2048.

Thank you for your explanation!

May I humbly propose the world's most minor patch:

.............................................................................
diff -u --new-file --recursive linux/include/linux/tasks.h linux-patched/include/linux/tasks.h
--- linux/include/linux/tasks.h Mon Oct 30 02:00:21 1995
+++ linux-patched/include/linux/tasks.h Tue Dec 15 20:24:28 1998
@@ -11,7 +11,7 @@
#define NR_CPUS 1
#endif

-#define NR_TASKS 512
+#define NR_TASKS 512 /* Max 4092, or 4090 w/APM configured. */

#define MAX_TASKS_PER_USER (NR_TASKS/2)
#define MIN_TASKS_LEFT_FOR_ROOT 4
.............................................................................
--
Pete Harlan
harlan@pointofchoice.com

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [from the cache]
©2003-2011 Jasper Spaans