Commit c66cb171 authored by Eric Curtin's avatar Eric Curtin Committed by Jonathan Corbet

Update Documentation/admin-guide/sysctl/fs.rst

max_user_watches for epoll should say 1/25, rather than 1/32
Signed-off-by: default avatarEric Curtin <ericcurtin17@gmail.com>
Link: https://lore.kernel.org/r/20210120132648.19046-1-ericcurtin17@gmail.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 798eb4cc
...@@ -380,5 +380,5 @@ This configuration option sets the maximum number of "watches" that are ...@@ -380,5 +380,5 @@ This configuration option sets the maximum number of "watches" that are
allowed for each user. allowed for each user.
Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes
on a 64bit one. on a 64bit one.
The current default value for max_user_watches is the 1/32 of the available The current default value for max_user_watches is the 1/25 (4%) of the
low memory, divided for the "watch" cost in bytes. available low memory, divided for the "watch" cost in bytes.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment