diff options
author | bmah <bmah@FreeBSD.org> | 2007-04-23 21:52:14 +0000 |
---|---|---|
committer | bmah <bmah@FreeBSD.org> | 2007-04-23 21:52:14 +0000 |
commit | 3094ba12011e3ef8f8ab7071f843a1c1b04b4ea1 (patch) | |
tree | 470934fea688f937127a813dad0be3b6feac782d /sys/cddl | |
parent | 27e460915a980500387dd071a93153647aa36605 (diff) | |
download | FreeBSD-src-3094ba12011e3ef8f8ab7071f843a1c1b04b4ea1.zip FreeBSD-src-3094ba12011e3ef8f8ab7071f843a1c1b04b4ea1.tar.gz |
Mostly-cosmetic fixes in low-memory warning messages:
o Fix linewrap issues.
o Fix two typos (s/Recomended/Recommended/ and s/tunning/tuning/)
o Remove a couple of extra instances of the word "of".
o Update names of kmem_size variables.
Approved by: pjd
Diffstat (limited to 'sys/cddl')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c index 6d361d9..89cbc1f 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c @@ -2802,13 +2802,14 @@ arc_init(void) #ifdef _KERNEL /* Warn about ZFS memory requirements. */ if (((uint64_t)physmem * PAGESIZE) < (256 + 128 + 64) * (1 << 20)) { - printf("ZFS WARNING: Recomended minimum of RAM size is 512MB, " - "expect unstable behaviour.\n"); + printf("ZFS WARNING: Recommended minimum RAM size is 512MB; " + "expect unstable behavior.\n"); } else if (kmem_size() < 256 * (1 << 20)) { - printf("ZFS WARNING: Recomended minimum of kmem_map size is " - "256MB, expect unstable behaviour.\n"); - printf(" Consider tunning vm.kmem_size and " - "vm.kmem_size_max in /boot/loader.conf.\n"); + printf("ZFS WARNING: Recommended minimum kmem_size is 256MB; " + "expect unstable behavior.\n"); + printf(" Consider tuning vm.kmem_size or " + "vm.kmem_size_min\n"); + printf(" in /boot/loader.conf.\n"); } #endif } |