Update Documentation/admin-guide/sysctl/fs.rst
authorEric Curtin <ericcurtin17@gmail.com>
Wed, 20 Jan 2021 13:26:47 +0000 (13:26 +0000)
committerJonathan Corbet <corbet@lwn.net>
Thu, 28 Jan 2021 22:45:10 +0000 (15:45 -0700)
max_user_watches for epoll should say 1/25, rather than 1/32

Signed-off-by: Eric Curtin <ericcurtin17@gmail.com>
Link: https://lore.kernel.org/r/20210120132648.19046-1-ericcurtin17@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysctl/fs.rst

index f48277a..2a501c9 100644 (file)
@@ -380,5 +380,5 @@ This configuration option sets the maximum number of "watches" that are
 allowed for each user.
 Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes
 on a 64bit one.
-The current default value for  max_user_watches  is the 1/32 of the available
-low memory, divided for the "watch" cost in bytes.
+The current default value for  max_user_watches  is the 1/25 (4%) of the
+available low memory, divided for the "watch" cost in bytes.