From: Ben Blum Date: Wed, 23 Sep 2009 22:56:28 +0000 (-0700) Subject: cgroups: use vmalloc for large cgroups pidlist allocations X-Git-Tag: v2.6.32-rc1~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d9fd3308fdef6b4bf564fa3d6cfe35b68b50bc;p=pandora-kernel.git cgroups: 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. Signed-off-by: Ben Blum Signed-off-by: Paul Menage Acked-by: Li Zefan Cc: Matt Helsley Cc: "Eric W. Biederman" Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed