Re: [PATCH v5 14/14] Add documentation about the kmem controller

From: Andrew Morton
Date: Wed Oct 17 2012 - 18:12:49 EST


On Tue, 16 Oct 2012 14:16:51 +0400
Glauber Costa <glommer@xxxxxxxxxxxxx> wrote:

> +Kernel memory won't be accounted at all until limit on a group is set. This
> +allows for existing setups to continue working without disruption. The limit
> +cannot be set if the cgroup have children, or if there are already tasks in the
> +cgroup.

What behaviour will usersapce see if "The limit cannot be set"?
write() returns -EINVAL, something like that?

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