From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH cgroup/for-3.11 2/3] cgroup: mark "notify_on_release" and "release_agent" cgroup files insane Date: Tue, 4 Jun 2013 13:00:03 -0700 Message-ID: <20130604200003.GC14916@htj.dyndns.org> References: <20130604021302.GH29989@mtj.dyndns.org> <20130604021355.GI29989@mtj.dyndns.org> <51ADC5D3.5070108@huawei.com> 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=GpSm1rhpwDfSa3US02ARSl4+5XjZkjhg3o4Gvr0Ja0c=; b=jTIgMIDBLFRcnJhUjzKEW7Cmn7+msbMA75LcT4Iw2hnCpWfthRUFsRiAL/SotTM1JT btBr1uA1a7nwkSbPBjp+D6yxzC7BjEdYOg3tAz0Qax9VS2ya8SBxMM7fAzDXVaJiaKaR DihqN+qQMPSHglnjQ+yBeG9Fa/0D/Ki9UoPQS4rcWpc53ciODlioWuhRXxhZ21r6Ggvs R+7vcu5vsFQBM7krWhVk8c9b1YYe3AztyCtyk+gOcJw+oOFo80dXcv6oZn+viqXrl2h+ 7nxw4YEj/AHOG8dcw09Do65s4mpeeGV8M9SUndFENRd45mvgQOXXoF++EtxNTUDYHKjh Olyg== Content-Disposition: inline In-Reply-To: <51ADC5D3.5070108-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Li Zefan Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Johannes Weiner , Michal Hocko , Balbir Singh , KAMEZAWA Hiroyuki , Vivek Goyal , kay.sievers-tD+1rO4QERM@public.gmane.org, lennart-mdGvqq1h2p+GdvJs77BJ7Q@public.gmane.org On Tue, Jun 04, 2013 at 06:47:47PM +0800, Li Zefan wrote: > On 2013/6/4 10:13, Tejun Heo wrote: > > The empty cgroup notification mechanism currently implemented in > > cgroup is tragically outdated. Forking and execing userland process > > stopped being a viable notification mechanism more than a decade ago. > > We're gonna have a saner mechanism. Let's make it clear that this > > abomination is going away. > > > > Mark "notify_on_release" and "release_agent" with CFTYPE_INSANE. > > > > Acked-by: Li Zefan > > Do you plan to implement the alternative mechanism for 3.11? No idea about the timeframe at this moment. Hoping to do it in this year. Thanks. -- tejun