diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2000-11-20 00:39:04 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2000-11-20 00:39:04 +0000 |
| commit | cee313c4311051f26739d2476a1b9c24aa1abbcd (patch) | |
| tree | 61c07b51cec7b978cdd7d7abc45891b46c3db829 | |
| parent | affec73ebd55c56c16cf821a37f1dec181c454a6 (diff) | |
Notes
| -rw-r--r-- | sys/vm/swap_pager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index a625bc84859c..e2151490a014 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -184,6 +184,9 @@ static int dmmax_mask; int nswap_lowat = 128; /* in pages, swap_pager_almost_full warn */ int nswap_hiwat = 512; /* in pages, swap_pager_almost_full warn */ +SYSCTL_INT(_vm, OID_AUTO, dmmax, + CTLFLAG_RD, &dmmax, 0, "Maximum size of a swap block"); + static __inline void swp_sizecheck __P((void)); static void swp_pager_sync_iodone __P((struct buf *bp)); static void swp_pager_async_iodone __P((struct buf *bp)); |
