[PATCH][BUGFIX] cgroups: fix pid namespace bug

Li Zefan lizf at cn.fujitsu.com
Wed Jul 1 19:17:57 PDT 2009

Paul Menage wrote:
> Thanks Li - but as I said to Serge in the email when I brought this up
> originally, I already had a patch in mind for this; I've had an intern
> (Ben) at Google working on it. His patch (pretty much ready, and being
> sent out tomorrow I hope) is pretty similar to yours, but his is on
> top of another patch that provides a (currently read-only)
> "cgroup.procs" file in each cgroup dir that lists the unique tgids in
> the cgroup. So the key in the list of pid arrays is actually a pid_ns
> and a file type (indicating procs or tasks) rather than just a pid_ns.
> So I think it makes more sense to not use this patch, but to use the
> pair of patches that Ben's written, since they provide more overal
> functionality.

But I guess we are going to fix the bug for 2.6.31? So is it ok to
merge a new feature 'cgroup.procs' together into 2.6.31?

More information about the Containers mailing list