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

From: Andrew Morton
Date: Mon Sep 08 2008 - 17:17:22 EST


On Thu, 04 Sep 2008 22:34:47 -0700
Paul Menage <menage@xxxxxxxxxx> 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.

--
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/