From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH 2/2] cgroup: remove gratuituous BUG_ON()s from rebind_subsystems() Date: Mon, 15 Jul 2013 10:54:49 +0800 Message-ID: <51E36479.5050405@huawei.com> References: <20130629041231.GA31353@htj.dyndns.org> <20130629041305.GB31353@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130629041305.GB31353-Gd/HAXX7CRxy/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: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org On 2013/6/29 12:13, Tejun Heo wrote: >>>From 9d47f1dd70a19b78a9da53e71fc1bf41e0300026 Mon Sep 17 00:00:00 2001 > From: Tejun Heo > Date: Fri, 28 Jun 2013 21:08:27 -0700 > > rebind_subsystems() performs santiy checks even on subsystems which > aren't specified to be added or removed and the checks aren't all that > useful given that these are in a very cold path while the violations > they check would trip up in much hotter paths. > > Let's remove these from rebind_subsystems(). > > Signed-off-by: Tejun Heo Acked-by: Li Zefan