[PATCH 3/6] Quick vmalloc vs kmalloc fix to the case where array size is too large
bblum at google.com
Mon Jul 27 08:49:39 PDT 2009
On Mon, Jul 27, 2009 at 1:14 AM, Li Zefan<lizf at cn.fujitsu.com> wrote:
> 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?
Depending how long they'll take, yes. This is meant to be an
intermediate correctness patch.
More information about the Containers