diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-11 20:16:42 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-11 20:16:42 +0000 |
commit | 6c7c9e663c01fa5619b7e11f1c02a2fb4909ac90 (patch) | |
tree | 332dff8936f8881e494cbaba1072b4bb0e6af221 /sys | |
parent | 04bf8af348138966f364ad66f451505a73f905d3 (diff) |
double MAX_KMAPENT and MAX_KMAP
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_map.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h index adae405b97b..7140ad1be98 100644 --- a/sys/vm/vm_map.h +++ b/sys/vm/vm_map.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_map.h,v 1.6 1997/11/06 05:59:34 csapuntz Exp $ */ +/* $OpenBSD: vm_map.h,v 1.7 1997/11/11 20:16:41 millert Exp $ */ /* $NetBSD: vm_map.h,v 1.11 1995/03/26 20:39:10 jtc Exp $ */ /* @@ -206,8 +206,12 @@ typedef struct { #define vm_map_pmap(map) ((map)->pmap) /* XXX: number of kernel maps and entries to statically allocate */ -#define MAX_KMAP 10 -#define MAX_KMAPENT 500 +#ifndef MAX_KMAP +#define MAX_KMAP 20 +#endif +#ifndef MAX_KMAPENT +#define MAX_KMAPENT 1000 +#endif #ifdef _KERNEL boolean_t vm_map_check_protection __P((vm_map_t, |