[PATCH 4/8] Use vmalloc for large cgroups pidlist allocations

Li Zefan lizf at cn.fujitsu.com
Wed Aug 19 19:54:25 PDT 2009

Paul Menage wrote:
> On Wed, Aug 19, 2009 at 7:37 PM, Li Zefan<lizf at cn.fujitsu.com> wrote:
>> I come to realize the "procs" file will make it much harder to convert
>> vmalloc/kmalloc with a different solution..
> Why do you think that?

To avoid showing duplicate threadgroup pids, when dealing with a
thread, you have to check backwards to see if it's group pid
has been printed. Maybe it doesn't add much extra cost with your
proposal, we'll see.

More information about the Containers mailing list