[RFC][PATCH] allow "unlimited" limit value.

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Tue Sep 25 18:23:43 PDT 2007


On Wed, 26 Sep 2007 00:51:59 +0530
Balbir Singh <balbir at linux.vnet.ibm.com> wrote:

> David Rientjes wrote:

> Yes, I prefer 0 as well and had that in a series in the Lost World
> of my earlier memory/RSS controller patches. I feel now that 0 is
> a bit confusing, we don't use 0 to mean unlimited, unless we
> treat the memory.limit_in_bytes value as boolean. 0 is false,
> meaning there is no limit, > 0 is true, which means the limit
> is set and the value is specified to the value read out.

I prefer 0 than -1, too

Thanks,
-Kame



More information about the Containers mailing list