diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-04-23 07:57:28 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-04-23 07:57:28 +0000 |
commit | a3dd350377c5d2f426c62ff95a9b804f39c415aa (patch) | |
tree | a38ba8725aae9c31ef7688a8ad6c8c7e8ac28c4b /sys/uvm/uvmexp.h | |
parent | 86a263bc4ab969bbfd17600ffd26e445553522a5 (diff) |
Document uvmexp.nswget without relying on implementation details.
Prompted by a question from schwarze@
ok deraadt@, schwarze@, visa@
Diffstat (limited to 'sys/uvm/uvmexp.h')
-rw-r--r-- | sys/uvm/uvmexp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvmexp.h b/sys/uvm/uvmexp.h index b2a98379a64..e3603b84d50 100644 --- a/sys/uvm/uvmexp.h +++ b/sys/uvm/uvmexp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvmexp.h,v 1.4 2018/11/06 07:49:38 otto Exp $ */ +/* $OpenBSD: uvmexp.h,v 1.5 2020/04/23 07:57:27 mpi Exp $ */ #ifndef _UVM_UVMEXP_ #define _UVM_UVMEXP_ @@ -78,7 +78,7 @@ struct uvmexp { int swpages; /* number of PAGE_SIZE'ed swap pages */ int swpginuse; /* number of swap pages in use */ int swpgonly; /* number of swap pages in use, not also in RAM */ - int nswget; /* number of times fault calls uvm_swap_get() */ + int nswget; /* number of swap pages moved from disk to RAM */ int nanon; /* XXX number total of anon's in system */ int unused05; /* formerly nanonneeded */ int unused06; /* formerly nfreeanon */ |