svn commit: r234325 - head/sys/fs/tmpfs

Gleb Kurtsou gleb at FreeBSD.org
Sun Apr 15 21:59:29 UTC 2012


Author: gleb
Date: Sun Apr 15 21:59:28 2012
New Revision: 234325
URL: http://svn.freebsd.org/changeset/base/234325

Log:
  Provide better description for vfs.tmpfs.memory_reserved sysctl.
  
  Suggested by:	Anton Yuzhaninov <citrin at citrin.ru>

Modified:
  head/sys/fs/tmpfs/tmpfs_subr.c

Modified: head/sys/fs/tmpfs/tmpfs_subr.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_subr.c	Sun Apr 15 20:29:39 2012	(r234324)
+++ head/sys/fs/tmpfs/tmpfs_subr.c	Sun Apr 15 21:59:28 2012	(r234325)
@@ -83,7 +83,8 @@ sysctl_mem_reserved(SYSCTL_HANDLER_ARGS)
 }
 
 SYSCTL_PROC(_vfs_tmpfs, OID_AUTO, memory_reserved, CTLTYPE_LONG|CTLFLAG_RW,
-    &tmpfs_pages_reserved, 0, sysctl_mem_reserved, "L", "reserved memory");
+    &tmpfs_pages_reserved, 0, sysctl_mem_reserved, "L",
+    "Amount of available memory and swap below which tmpfs growth stops");
 
 size_t
 tmpfs_mem_avail(void)


More information about the svn-src-head mailing list