Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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>

authored by

Eric Curtin and committed by
Jonathan Corbet
c66cb171 798eb4cc

+2 -2
+2 -2
Documentation/admin-guide/sysctl/fs.rst
··· 380 380 allowed for each user. 381 381 Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes 382 382 on a 64bit one. 383 - The current default value for max_user_watches is the 1/32 of the available 384 - low memory, divided for the "watch" cost in bytes. 383 + The current default value for max_user_watches is the 1/25 (4%) of the 384 + available low memory, divided for the "watch" cost in bytes.