Re: [PATCH v2] memcg, fsnotify: no oom-kill for remote memcg charging

2019-05-08 Thread Roman Gushchin
On Sat, May 04, 2019 at 07:52:42AM -0700, Shakeel Butt wrote: > The commit d46eb14b735b ("fs: fsnotify: account fsnotify metadata to > kmemcg") added remote memcg charging for fanotify and inotify event > objects. The aim was to charge the memory to the listener who is > interested in the events

[PATCH v2] memcg, fsnotify: no oom-kill for remote memcg charging

2019-05-04 Thread Shakeel Butt
The commit d46eb14b735b ("fs: fsnotify: account fsnotify metadata to kmemcg") added remote memcg charging for fanotify and inotify event objects. The aim was to charge the memory to the listener who is interested in the events but without triggering the OOM killer. Otherwise there would be