Re: [PATCH v2] kernel/ucounts: expose count of inotify watches in use

2019-04-25 Thread Albert Vaca Cintora
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

Re: [PATCH v2] kernel/ucounts: expose count of inotify watches in use

2019-02-22 Thread Albert Vaca Cintora
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

[PATCH v2] kernel/ucounts: expose count of inotify watches in use

2019-02-01 Thread Albert Vaca Cintora
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

[PATCH 1/1] kernel/ucounts: expose current inotify watch count

2019-01-21 Thread Albert Vaca Cintora
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

[PATCH 0/1] kernel/ucounts: expose current inotify watch count

2019-01-21 Thread Albert Vaca Cintora
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