[PATCH 3/6] Quick vmalloc vs kmalloc fix to the case where array size is too large

Li Zefan lizf at cn.fujitsu.com
Sun Jul 26 22:14:12 PDT 2009


Ben Blum wrote:
> Quick vmalloc vs kmalloc fix to the case where array size is too large
> 
> Separates all pidlist allocation requests to a separate function that judges
> based on the requested size whether or not the array needs to be vmalloced or
> can be gotten via kmalloc, and similar for kfree/vfree. Should be replaced
> entirely with a kernel-wide solution to this general problem.
> 
> Depends on cgroup-pidlist-namespace.patch, cgroup-procs.patch
> 
> Signed-off-by: Ben Blum <bblum at google.com>
> 

We'll either use flex_array or implement Paul's proposal, so I think
we can drop this patch?



More information about the Containers mailing list