[Devel] Re: [PATCH 1/2] Add the max_usage member on the res_counter

2008-03-11 Thread Pavel Emelyanov
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

[Devel] Re: [PATCH 1/2] Add the max_usage member on the res_counter

2008-03-07 Thread Balbir Singh
Pavel Emelyanov 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. Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] --- include/linux/res_counter.h |5 + kernel/res_counter.c|