summaryrefslogtreecommitdiffstats
path: root/include/linux/tasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tasks.h')
-rw-r--r--include/linux/tasks.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/tasks.h b/include/linux/tasks.h
index 12facf200..050bb3875 100644
--- a/include/linux/tasks.h
+++ b/include/linux/tasks.h
@@ -4,6 +4,9 @@
/*
* This is the maximum nr of tasks - change it if you need to
*/
-#define NR_TASKS 128
+#define NR_TASKS 512
+
+#define MAX_TASKS_PER_USER (NR_TASKS/2)
+#define MIN_TASKS_LEFT_FOR_ROOT 4
#endif