[PATCH] cgroup(fix critical bug): new handling for tasks file

Andrew Morton akpm at linux-foundation.org
Mon Sep 8 14:16:35 PDT 2008


On Thu, 04 Sep 2008 22:34:47 -0700
Paul Menage <menage at google.com> wrote:

>  	npids = cgroup_task_count(cgrp);
> +	pidarray = kmalloc(npids * sizeof(pid_t), GFP_KERNEL);

kmalloc becomes more unreliable above 32 kbytes and 100% unreliable
above MAX_ORDER.



More information about the Containers mailing list