diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-08-30 09:44:05 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-08-30 09:44:05 +0000 |
commit | f08b30995a8a58d3448755b70a4ff760127c2f7c (patch) | |
tree | e7fd22df55a62ca60b8f2aa5cbf1b7940279a40d | |
parent | 1caaf3ea4fa5ab3caba538077c3c7bb603774a79 (diff) |
Notes
-rw-r--r-- | sys/vm/swap_pager.c | 2 | ||||
-rw-r--r-- | sys/vm/swap_pager.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 6910eae25e958..70bdd704f6e7a 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -311,7 +311,7 @@ swap_release_by_cred(vm_ooffset_t decr, struct ucred *cred) #define SWM_FREE 0x02 /* free, period */ #define SWM_POP 0x04 /* pop out */ -int swap_pager_full = 2; /* swap space exhaustion (task killing) */ +static int swap_pager_full = 2; /* swap space exhaustion (task killing) */ static int swap_pager_almost_full = 1; /* swap space exhaustion (w/hysteresis)*/ static int nsw_rcount; /* free read buffers */ static int nsw_wcount_sync; /* limit write buffers / synchronous */ diff --git a/sys/vm/swap_pager.h b/sys/vm/swap_pager.h index 6c170a4dec000..cf117a77cb454 100644 --- a/sys/vm/swap_pager.h +++ b/sys/vm/swap_pager.h @@ -73,7 +73,6 @@ struct swdevt { #ifdef _KERNEL -extern int swap_pager_full; extern int swap_pager_avail; struct xswdev; |