From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH] cgroup: deprecate remount option changes mount option Date: Thu, 15 Mar 2012 12:45:45 -0700 Message-ID: <20120315194545.GG32137@google.com> References: <20120314215228.GI7349@google.com> <20120315165655.GD32137@google.com> <20120315193635.GD32661@tango.0pointer.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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=PElrVOYAxe1AD2aida/z0gMOCHSIeguEABPHXMW94a0=; b=AZ7ZMn7W1ooU3zuWFqMQaQaBM5UTzZBtX9t11SPv6Th18m34SFI4JERd1PdfilvZbY Pd4STECnQFoNBkO4itNeIOaQO/p887ZXZmH/Fh5wgCcwZMfgwIgyJulGHF64MLpTkw+t Y4O8f/3D+N+oJWHa+hdNOnt3Qj1M/Z5agkZkHxAnf4fuVaLqaA8HuKBx0RM6U79ZISPa a93vQSaPRDN6piMS4xTt44QiBLfJuoT7c2pxyINdKfTXolKNYAJeQoJDZFb9b8mYL35P l59JhdhgWKc5T/jfLZwKhurGor9xc9ZXRe+PE5vpihaVXqx0dQo+8ylaI5eGKJKJyPhZ WMNA== Content-Disposition: inline In-Reply-To: <20120315193635.GD32661-kS5D54t9nk0aINubkmmoJbNAH6kLmebB@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Lennart Poettering Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Frederic Weisbecker Hello, On Thu, Mar 15, 2012 at 08:36:35PM +0100, Lennart Poettering wrote: > > * release_agent update by remount: release_agent itself will be > > replaced with conventional fsnotify notification. > > Just wondering, what kind of event do you plan to emit if a cgroup runs > empty? To userspace, with fanotify, will this be FAN_MODIFY? I'd very > much prefer if we only get events really when a group runs empty, and > not each time a PID is added/removed from a cgroup, which FAN_NOTIFY > might suggest? MODIFY probably is the only thing which makes sense and I don't think we would be emitting events for every task addition/removals. That better fits MODIFY events on the tasks file anyway. Thanks. -- tejun