diff options
author | gleb <gleb@FreeBSD.org> | 2012-04-15 21:59:28 +0000 |
---|---|---|
committer | gleb <gleb@FreeBSD.org> | 2012-04-15 21:59:28 +0000 |
commit | 748c9a0d1ccd0c83d8126bd9cd90a302a1b31b98 (patch) | |
tree | f8439d57963ef3d51388fa1e846f67e26d847fe5 /sys/fs/tmpfs/tmpfs_subr.c | |
parent | 69f376da56676e42c047d412618b785d5feb1d3b (diff) | |
download | FreeBSD-src-748c9a0d1ccd0c83d8126bd9cd90a302a1b31b98.zip FreeBSD-src-748c9a0d1ccd0c83d8126bd9cd90a302a1b31b98.tar.gz |
Provide better description for vfs.tmpfs.memory_reserved sysctl.
Suggested by: Anton Yuzhaninov <citrin@citrin.ru>
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_subr.c')
-rw-r--r-- | sys/fs/tmpfs/tmpfs_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c index cd0e243..96615d2 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -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) |