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

Andrew Morton akpm at linux-foundation.org
Thu Aug 20 14:14:00 PDT 2009


On Tue, 18 Aug 2009 16:58:27 -0700
Paul Menage <menage at google.com> wrote:

> From: Ben Blum <bblum at google.com>
> 
> 
> Use vmalloc for large cgroups pidlist allocations
> 
> 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.
> 

Hang on.  Isn't this why Dave just wrote and I just rush-merged
lib/flex_array.c?

Was that code evaluated for this application and judged unsuitable?  If so,
for what reason?

If not, can someone please do this?

Ta.


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list