On Thu, Apr 25, 2019 at 10:07 PM Andrew Morton
wrote:
>
> On Fri, 1 Feb 2019 21:39:59 +0100 Albert Vaca Cintora
> wrote:
>
> > Adds a readonly 'current_inotify_watches' entry to the user sysctl table.
> > The handler for this entry is a custom function that
On Fri, Feb 1, 2019 at 9:42 PM Albert Vaca Cintora wrote:
>
> Adds a readonly 'current_inotify_watches' entry to the user sysctl table.
> The handler for this entry is a custom function that ends up calling
> proc_dointvec. Said sysctl table already contains 'max_ino
re a finite resource, in a similar way to available file
descriptors. The motivation for this patch is to be able to set up
monitoring and alerting before an application starts failing because
it runs out of inotify watches.
Signed-off-by: Albert Vaca Cintora
Acked-by: Jan Kara
Reviewed-by: Ni
Adds a readonly 'current_inotify_watches' entry to the user sysctl table.
The handler for this entry is a custom function that ends calling
proc_dointvec.
Signed-off-by: Albert Vaca Cintora
---
kernel/ucount.c | 29 +
1 file changed, 29 insertions(+)
di
t of inotify watches.
Albert Vaca Cintora (1):
kernel/ucounts: expose current inotify watch count
kernel/ucount.c | 29 +
1 file changed, 29 insertions(+)
--
2.20.1
5 matches
Mail list logo