From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH cgroup/for-3.11 1/3] cgroup: mark "tasks" cgroup file as insane Date: Tue, 4 Jun 2013 18:43:26 +0800 Message-ID: <51ADC4CE.2020903@huawei.com> References: <20130604021302.GH29989@mtj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130604021302.GH29989-9pTldWuhBndy/B6EtB590w@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: Tejun Heo Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, kay.sievers-tD+1rO4QERM@public.gmane.org, Michal Hocko , Vivek Goyal , lennart-mdGvqq1h2p+GdvJs77BJ7Q@public.gmane.org, Johannes Weiner , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 2013/6/4 10:13, Tejun Heo wrote: > Some resources controlled by cgroup aren't per-task and cgroup core > allowing threads of a single thread_group to be in different cgroups > forced memcg do explicitly find the group leader and use it. This is > gonna be nasty when transitioning to unified hierarchy and in general > we don't want and won't support granularity finer than processes. > > Mark "tasks" with CFTYPE_INSANE. > > Signed-off-by: Tejun Heo > Cc: Johannes Weiner > Cc: Michal Hocko > Cc: Balbir Singh > Cc: KAMEZAWA Hiroyuki > Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: Vivek Goyal Acked-by: Li Zefan