On Fri, 2012-09-14 at 17:12 +0800, Li Zefan wrote: > > I think this is a pressing problem, yes, but not the only problem with > > cgroup lock. Even if we restrict its usage to cgroup core, we still can > > call cgroup functions, which will lock. And then we gain nothing. > > > > Agreed. The biggest issue in cpuset is if hotplug makes a cpuset's cpulist > empty the tasks in it will be moved to an ancestor cgroup, which requires > holding cgroup lock. We have to either change cpuset's behavior or eliminate > the global lock. PJ (the original cpuset author) has always been very conservative in changing cpuset semantics/behaviour. Its being used at the big HPC labs and those people simply don't like change. It also ties in with us having to preserve ABI, Linus says you can only do so if nobody notices -- if a tree falls in a forest and there's nobody to hear it, it really didn't fall at all. Which I guess means we're going to have to split locks :-) _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers