From: Philip Homburg Date: Thu, 30 Jun 2005 12:56:34 +0000 (+0000) Subject: changed max pid back to 30000 X-Git-Tag: v3.1.0~670 X-Git-Url: http://zhaoyanbai.com/repos/man.genrandom.html?a=commitdiff_plain;h=3e5276eff7e70f8c38b94e26118b747a56bffd7c;p=minix.git changed max pid back to 30000 --- diff --git a/servers/pm/const.h b/servers/pm/const.h index 5325a5132..dd6d96208 100644 --- a/servers/pm/const.h +++ b/servers/pm/const.h @@ -11,7 +11,10 @@ #define MAX_PAGES 4096 /* how many pages in the virtual addr space */ #endif -#define NR_PIDS 65536 /* process ids range from 0 to NR_PIDS-1 */ +#define NR_PIDS 30000 /* process ids range from 0 to NR_PIDS-1. + * (magic constant: some old applications use + * a 'short' instead of pid_t.) + */ #define PM_PID 0 /* PM's process id number */ #define PM_PARENT -1 /* PM's parent process slot */