diff options
author | Ben Blum | 2009-09-24 00:56:28 +0200 |
---|---|---|
committer | Linus Torvalds | 2009-09-24 16:20:58 +0200 |
commit | d1d9fd3308fdef6b4bf564fa3d6cfe35b68b50bc (patch) | |
tree | 8de392166f2edb696950a90e468ef27f043be509 /security/device_cgroup.c | |
parent | cgroups: ensure correct concurrent opening/reading of pidlists across pid nam... (diff) | |
download | kernel-qcow2-linux-d1d9fd3308fdef6b4bf564fa3d6cfe35b68b50bc.tar.gz kernel-qcow2-linux-d1d9fd3308fdef6b4bf564fa3d6cfe35b68b50bc.tar.xz kernel-qcow2-linux-d1d9fd3308fdef6b4bf564fa3d6cfe35b68b50bc.zip |
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 <bblum@google.com>
Signed-off-by: Paul Menage <menage@google.com>
Acked-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Matt Helsley <matthltc@us.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions