From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Nikiforov Subject: Re: [PATCH -V3 1/1] cgroup: Add inotify event on change tasks file (fork, exit, move pid from file) Date: Tue, 22 May 2012 09:31:24 +0400 Message-ID: <4FBB24AC.1010605@samsung.com> References: <4F9B82E1.3070602@samsung.com> <20120428214131.GB4586@mtj.dyndns.org> <4FA24E07.1010206@samsung.com> <1336075511.2320.2.camel@localhost> <4FA36818.9010409@samsung.com> <20120504170412.GD24639@google.com> <20120504174330.GS6871@ZenIV.linux.org.uk> <20120507203848.GL19417@google.com> <20120515151637.GD6119@google.com> <1337095517.31199.2.camel@localhost> <20120515152844.GE6119@google.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <20120515152844.GE6119-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Tejun Heo Cc: Eric Paris , Al Viro , Cgroups , "Kirill A. Shutemov" , lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, KAMEZAWA Hiroyuki , Dmitry Solodkiy , npiggin-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org On 05/15/2012 07:28 PM, Tejun Heo wrote: > Hello, > > On Tue, May 15, 2012 at 11:25:17AM -0400, Eric Paris wrote: >> On Tue, 2012-05-15 at 08:16 -0700, Tejun Heo wrote: >>> On Mon, May 07, 2012 at 01:38:48PM -0700, Tejun Heo wrote: >>>> On Fri, May 04, 2012 at 06:43:30PM +0100, Al Viro wrote: >>>>> Consider that preemptively NAKed. Eric, would you mind explaining >>>>> WTF would fsnotify *do* with vfsmount(s) here, seeing that they might very >>>>> well be not mounted in anyone's namespace? And as for generating an event >>>>> for each, they might appear and disappear at zero notice. >>>> Eric, any ideas on how to proceed? >>> Ping? >> Oh sorry, if Al's correct, and there is just absolutely no way to come >> up with any kind of mnt for the path we have no choice. Do it the way >> you were. > The thing is that people have been requesting recursive notification > for cgroup events (especially cgroup becoming empty). IIRC, that > can't be done without path, right? Why so? Can we change that? > > Thanks. > PIng... -- Best regards, Alex Nikiforov, Mobile SW, Advanced Software Group, Moscow R&D center, Samsung Electronics