(This is a revision of the patch series in http://lkml.org/lkml/2009/7/2/464 ) The following series adds a "cgroup.procs" file to each cgroup that reports unique tgids rather than pids, and fixes a pid namespace bug in the existing "tasks" file that could cause readers in different namespaces to interfere with one another. This patch series implements a superset of the functionality of (and was written at the same time as) Li Zefan's pid namespace bugfix patch (from http://lkml.org/lkml/2009/7/1/559 ). These patches can either be rewritten to be applied on top of Li's patch, or be applied as they are with Li's patch reversed. --- Ben Blum (3): Quick vmalloc vs kmalloc fix to the case where array size is too large Ensures correct concurrent opening/reading of pidlists across pid namespaces Adds a read-only "procs" file similar to "tasks" that shows only unique tgids include/linux/cgroup.h | 46 +++++- kernel/cgroup.c | 378 ++++++++++++++++++++++++++++++++++-------------- 2 files changed, 309 insertions(+), 115 deletions(-) _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers