Re: [PATCH] Update Documentation/admin-guide/sysctl/fs.rst

From: Jonathan Corbet
Date: Thu Jan 28 2021 - 17:47:37 EST


On Wed, 20 Jan 2021 13:26:47 +0000
Eric Curtin <ericcurtin17@xxxxxxxxx> wrote:

> max_user_watches for epoll should say 1/25, rather than 1/32
>
> Signed-off-by: Eric Curtin <ericcurtin17@xxxxxxxxx>
> ---
> Documentation/admin-guide/sysctl/fs.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/sysctl/fs.rst b/Documentation/admin-guide/sysctl/fs.rst
> index f48277a0a850..2a501c9ddc55 100644
> --- a/Documentation/admin-guide/sysctl/fs.rst
> +++ b/Documentation/admin-guide/sysctl/fs.rst
> @@ -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.

That does appear to be the way of it...patch applied, thanks.

jon