[PATCH 2/2] cgroup: remove gratuituous BUG_ON()s from rebind_subsystems()

Li Zefan lizefan at huawei.com
Mon Jul 15 02:54:49 UTC 2013


On 2013/6/29 12:13, Tejun Heo wrote:
>>From 9d47f1dd70a19b78a9da53e71fc1bf41e0300026 Mon Sep 17 00:00:00 2001
> From: Tejun Heo <tj at kernel.org>
> 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 <tj at kernel.org>

Acked-by: Li Zefan <lizefan at huawei.com>


More information about the Containers mailing list