KAMEZAWA Hiroyuki wrote: > On Fri, 07 Mar 2008 18:30:55 +0300 > Pavel Emelyanov <[EMAIL PROTECTED]> wrote: > >> This is a very usefull feature. E.g. one may set the >> limit to "unlimited" value and check for the memory >> requirements of a new container. >> > Hm, I like this. Could you add a method to reset this counter ?
OK. Sounds reasonable. > How about > > counter->max_usage = max(counter->usage, counter->max_usage); No, I prefer explicit checks :) > Looks very good, > > Acked-by: Balbir Singh <[EMAIL PROTECTED]> OK. I'll push this change the the git at openvz.org then. _______________________________________________ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
