[RFC] Transactional CGroup task attachment

Paul Menage menage at google.com
Thu Jul 10 20:31:26 PDT 2008


On Thu, Jul 10, 2008 at 7:14 PM, Li Zefan <lizf at cn.fujitsu.com> wrote:
>
> Support for CGROUP_ATTACH_PROCESS adds complexity and some subsystems
> may have to aware of this and write code to support it, but fortunately
> it seems only numtasks needs to deal with this. Or we can implement
> this new task attachment framework for CGROUP_ATTACH_THREAD mode only,
> to see how good it works, and later we add support for
> CGROUP_ATTACH_PROCESS.

Yes, that's the right way to go - but getting the
CGROUP_ATTACH_PROCESS mode working is a prerequisite for adding the
"procs" file.

Paul


More information about the Containers mailing list