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

From: Andrew Morton
Date: Thu Aug 20 2009 - 17:20:02 EST


On Tue, 18 Aug 2009 16:58:27 -0700
Paul Menage <menage@xxxxxxxxxx> wrote:

> From: Ben Blum <bblum@xxxxxxxxxx>
>
>
> 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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/