Re: [PATCH 00/10] Containers(V10): Generic Process Containers



Hi Paul,

I've got two problems working with this patchset:

1. A task can't join a cpuset unless 'cpus' and 'mems' are set. These
don't seem to automatically inherit the parent's values. So when I do

mount -t container -o ns,cpuset nsproxy /containers
(unshare a namespace)

the unshare fails because container_clone() created a new cpuset
container but the task couldn't automatically enter that new cpuset.

2. I can't delete containers because of the files they contain, and
am not allowed to delete those files by hand.

thanks,
-serge
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [RFC][PATCH 0/4] Generic container system
    ... a in-tree user (this infrastructure + cpuset) for that feature will ... no task attached with the container _and_ there is no sub-container. ... While there's nothing to stop a container subsystem from also using ... in to break it to add scalability (I am not saying that these locks are ...
    (Linux-Kernel)
  • Re: [RFC][PATCH 0/4] Generic container system
    ... Thanks for doing the exercise of removing the container part of cpuset ... be _not_ called when there are other subsystems registered? ... cpuset code seems pretty happy with coarse-grained locking (only one ...
    (Linux-Kernel)
  • Re: [RFC][PATCH 0/4] Generic container system
    ... Thanks for doing the exercise of removing the container part of cpuset ... of other container subsystems use the same locks to protect their own ... Only if they are going to depend on the core data structure being intact ...
    (Linux-Kernel)
  • Re: [ckrm-tech] [patch00/05]: Containers(V2)- Introduction
    ... about splitting out the container portions of cpuset from the actual ... hence its cpuset and/or resource groups. ... struct container { ...
    (Linux-Kernel)
  • Re: [ckrm-tech] [patch00/05]: Containers(V2)- Introduction
    ... struct container { ... cpuset access to all CPUs and control CPU usage via the resource ... The generic code would take care of details like container ...
    (Linux-Kernel)