diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-02 11:06:39 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-02 11:06:39 +0000 |
commit | c7a08faaa110b22ebee27cae896bbb58d550e019 (patch) | |
tree | 1c0d39b54e55545384e0e9f77864e0939276735a /sys/vm | |
parent | 05672db570577a60f1cd6c1230a487a68ca9b346 (diff) |
Sysctl for finding out how many pages there are in kmem_map.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_param.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h index b1b037ed320..946b183bc39 100644 --- a/sys/vm/vm_param.h +++ b/sys/vm/vm_param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_param.h,v 1.22 2001/06/27 04:52:40 art Exp $ */ +/* $OpenBSD: vm_param.h,v 1.23 2001/08/02 11:06:38 art Exp $ */ /* $NetBSD: vm_param.h,v 1.12 1995/03/26 20:39:16 jtc Exp $ */ /* @@ -119,7 +119,8 @@ typedef int boolean_t; #define VM_PSSTRINGS 3 /* PSSTRINGS */ #define VM_UVMEXP 4 /* struct uvmexp */ #define VM_SWAPENCRYPT 5 /* int */ -#define VM_MAXID 6 /* number of valid vm ids */ +#define VM_NKMEMPAGES 6 /* int - # kmem_map pages */ +#define VM_MAXID 7 /* number of valid vm ids */ #define CTL_VM_NAMES { \ { 0, 0 }, \ @@ -128,6 +129,7 @@ typedef int boolean_t; { "psstrings", CTLTYPE_STRUCT }, \ { "uvmexp", CTLTYPE_STRUCT }, \ { "swapencrypt", CTLTYPE_NODE }, \ + { "nkmempages", CTLTYPE_INT }, \ } struct _ps_strings { |