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

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.com


Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 798eb4cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.