diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2014-06-05 01:11:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-05 01:54:13 +0200 |
commit | 4a0da71b96b9d4080c0820e9e7d02470ebe62dc6 (patch) | |
tree | d5fd8eb6b6f5d8877a5f84ddffa7f3e6a33e8284 /mm | |
parent | mm/memory-failure.c: support use of a dedicated thread to handle SIGBUS(BUS_M... (diff) | |
download | linux-4a0da71b96b9d4080c0820e9e7d02470ebe62dc6.tar.xz linux-4a0da71b96b9d4080c0820e9e7d02470ebe62dc6.zip |
Documentation/sysctl/vm.txt: clarify vfs_cache_pressure description
Existing description is worded in a way which almost encourages setting of
vfs_cache_pressure above 100, possibly way above it.
Users are left in a dark what this numeric value is - an int? a
percentage? what the scale is?
As a result, we are getting reports about noticeable performance
degradation from users who have set vfs_cache_pressure to ridiculously
high values - because they thought there is no downside to it.
Via code inspection it's obvious that this value is treated as a
percentage. This patch changes text to reflect this fact, and adds a
cautionary paragraph advising against setting vfs_cache_pressure sky high.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions