diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-17 21:58:34 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-17 21:58:34 +0000 |
commit | 0372a5c167d4fd5d7652ff095e0dff9a74167ffd (patch) | |
tree | 258838e0bb9e7543f6b1e05d8465888086927964 /sys/cddl | |
parent | 485e86be3bf34d8eb88b9ed8d20995790452d6d7 (diff) | |
download | FreeBSD-src-0372a5c167d4fd5d7652ff095e0dff9a74167ffd.zip FreeBSD-src-0372a5c167d4fd5d7652ff095e0dff9a74167ffd.tar.gz |
Simplify.
Diffstat (limited to 'sys/cddl')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/dnlc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/dnlc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/dnlc.c index 1df75e9..97a55d7 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/dnlc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/dnlc.c @@ -305,11 +305,7 @@ dnlc_init(void *arg __unused) */ if (ncsize == -1) { /* calculate a reasonable size for the low water */ -#if 0 - dnlc_nentries_low_water = 4 * (v.v_proc + maxusers) + 320; -#else dnlc_nentries_low_water = (desiredvnodes * 49) / 100; -#endif ncsize = dnlc_nentries_low_water + (dnlc_nentries_low_water / dnlc_low_water_divisor); } else { |