diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-09-07 22:11:45 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-09-07 22:11:45 +0000 |
| commit | b9f009b08da97f99c596289b146208c0d0dcb094 (patch) | |
| tree | 15ef74ed3425dbe2382294dbf7e6e5c2c5c7b01e /sys/kern/kern_proc.c | |
| parent | e94ecf73383a9de2a38b5aa52c63f95a1c33bc58 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_proc.c')
| -rw-r--r-- | sys/kern/kern_proc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index b4091e712658..61be8de91259 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -35,6 +35,7 @@ */ #include "opt_ktrace.h" +#include "opt_kstack_pages.h" #include <sys/param.h> #include <sys/systm.h> @@ -101,6 +102,11 @@ static int active_procs; static int cached_procs; static int allocated_procs; +int kstack_pages = KSTACK_PAGES; +int uarea_pages = UAREA_PAGES; +SYSCTL_INT(_kern, OID_AUTO, kstack_pages, CTLFLAG_RD, &kstack_pages, 0, ""); +SYSCTL_INT(_kern, OID_AUTO, uarea_pages, CTLFLAG_RD, &uarea_pages, 0, ""); + #define RANGEOF(type, start, end) (offsetof(type, end) - offsetof(type, start)) CTASSERT(sizeof(struct kinfo_proc) == KINFO_PROC_SIZE); |
