Re: [patch] mm, memcg: do not allow tasks to be attached with zero limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 7 Mar 2012 19:14:49 -0800 (PST)
David Rientjes <rientjes@xxxxxxxxxx> wrote:

> This patch prevents tasks from being attached to a memcg if there is a
> hard limit of zero.

We're talking about the memcg's limit_in_bytes here, yes?

> Additionally, the hard limit may not be changed to
> zero if there are tasks attached.

hm, well...  why?  That would be user error, wouldn't it?  What is
special about limit_in_bytes=0?  The memcg will also be unviable if
limit_in_bytes=1, but we permit that.

IOW, confused.

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux