diff options
author | Guillem Jover <guillem@debian.org> | 2005-05-11 19:51:08 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2005-05-11 19:51:08 +0000 |
commit | 2677f79258b52ff6772431d4e8ce31ab3a0e2fd4 (patch) | |
tree | 69e2bcc8e3038f34afd4f69190a13de9e093dab4 /debian | |
parent | 0e19e6406ab795760aa649d2a26647eaab934a7d (diff) |
Add a system stabilizer patch.
- debian/patches/14_alloc_params.patch.
Thanks to Neal H. Walfield <neal@cs.uml.edu>.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/patches/14_alloc_params.patch | 46 |
2 files changed, 54 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 5542e37..64f7743 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +gnumach (1:20050501-2) unstable; urgency=low + + * Add a system stabilizer patch. + - debian/patches/14_alloc_params.patch. + Thanks to Neal H. Walfield <neal@cs.uml.edu>. + + -- Guillem Jover <guillem@debian.org> Wed, 11 May 2005 22:47:47 +0300 + gnumach (1:20050501-1) unstable; urgency=low * New upstream CVS snapshot. diff --git a/debian/patches/14_alloc_params.patch b/debian/patches/14_alloc_params.patch new file mode 100644 index 0000000..1eea4c5 --- /dev/null +++ b/debian/patches/14_alloc_params.patch @@ -0,0 +1,46 @@ +#DPATCHLEVEL=0 + +Index: kern/mach_param.h +=================================================================== +RCS file: /cvsroot/hurd/gnumach/kern/mach_param.h,v +retrieving revision 1.2 +diff -u -r1.2 mach_param.h +--- kern/mach_param.h 5 Apr 2001 06:39:20 -0000 1.2 ++++ kern/mach_param.h 3 May 2005 10:06:19 -0000 +@@ -38,16 +38,16 @@ + #ifndef _KERN_MACH_PARAM_H_ + #define _KERN_MACH_PARAM_H_ + +-#define THREAD_MAX 1024 /* Max number of threads */ ++#define THREAD_MAX 64 * 1024 /* Max number of threads */ + #define THREAD_CHUNK 64 /* Allocation chunk */ + +-#define TASK_MAX 1024 /* Max number of tasks */ ++#define TASK_MAX 64 * 1024 /* Max number of tasks */ + #define TASK_CHUNK 64 /* Allocation chunk */ + +-#define ACT_MAX 1024 /* Max number of acts */ ++#define ACT_MAX 64 * 1024 /* Max number of acts */ + #define ACT_CHUNK 64 /* Allocation chunk */ + +-#define ACTPOOL_MAX 1024 ++#define ACTPOOL_MAX 64 * 1024 + #define ACTPOOL_CHUNK 64 + + #define PORT_MAX ((TASK_MAX * 3 + THREAD_MAX) /* kernel */ \ +Index: zalloc.c +=================================================================== +RCS file: /cvsroot/hurd/gnumach/kern/zalloc.c,v +retrieving revision 1.3 +diff -u -p -r1.3 zalloc.c +--- zalloc.c 5 Apr 2001 06:39:20 -0000 1.3 ++++ zalloc.c 11 May 2005 09:35:43 -0000 +@@ -99,7 +99,7 @@ zone_t zone_zone; /* this is the zone c + boolean_t zone_ignore_overflow = TRUE; + + vm_map_t zone_map = VM_MAP_NULL; +-vm_size_t zone_map_size = 12 * 1024 * 1024; ++vm_size_t zone_map_size = 18 * 1024 * 1024; + + /* + * The VM system gives us an initial chunk of memory. |