From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH -V3 1/1] cgroup: Add inotify event on change tasks file (fork, exit, move pid from file) Date: Tue, 15 May 2012 08:28:44 -0700 Message-ID: <20120515152844.GE6119@google.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> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=JJWjdD1mqLpbYaySVr8hDN8PLqLT88xNsRxUfyt567E=; b=FSpjGZRBmZmNu4eczF7Judgs0oA8feKvZfO+wQEQ5cyMFsXnMv1uDm87dRemgudoV3 E2BpkDLGwGyfl9G2EUHdcrwDjZG6LwImlfGxFC+VIzT4pI7lxNXaFHQj3+3+uHORS61/ Z0HsWCc6asKjn/PJBNPXPRmIzz6XC50f62jzp+FaPdZxwdUDucbh5zd2mRIfnJkpHwup EXpxQGp00jcMWTNMuy/b/2hjXJDstAzNXeF0IDc4pB0rQ/kji35TJE6WyZ64cUsdpm9o ymum+0WfGkcCyZ00e6JTtpT31f11pFzbELDjIrbM4XeSqlgVGWbEG3tLA2kOJwsXnNeC HR4w== Content-Disposition: inline In-Reply-To: <1337095517.31199.2.camel@localhost> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Eric Paris Cc: Al Viro , Alexander Nikiforov , Cgroups , "Kirill A. Shutemov" , lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, KAMEZAWA Hiroyuki , Dmitry Solodkiy , npiggin-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org 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. -- tejun