On Tue, 25 Sep 2007 19:14:53 +0400 Pavel Emelyanov <xemul@xxxxxxxxxx> wrote: > KAMEZAWA Hiroyuki wrote: > > On Tue, 25 Sep 2007 17:34:00 +0400 > > Pavel Emelyanov <xemul@xxxxxxxxxx> wrote: > >> Well, no container may have the ULLMAX (or what is it?) bytes > >> touched/allocated :) So I don't see any need in a special value. > >> > > Then, ULLMAX is default value of "not configured cgroup-resource-counter". > > > > For make things clear for people(including not-hacker-users), > > can we have some definition as following ? > > -- > > #define RES_COUNTER_INIFINITY (~0ULL) > > or some nice name > > Why do we need this at all? We can simply push -1 there and be happy. > Hm, can this work now ? == echo -1 > /cgroup/memory.limit_in_bytes == Or users have to do following for unlimit resource ? == echo some-very-very-big-number > /cgroup/memory.limit_in_bytes I just think when some special value "-1" has a nice nick name, users will be happy. If I'm a novice user, I don't imagine I can write -1 to limit value. (but ok, tools can hide it for them.) Thanks, -Kame _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers