OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH 3/3] memcgoup: allow memory.failcnt to be reset
Re: [PATCH 3/3] memcgoup: allow memory.failcnt to be reset [message #28190 is a reply to message #28187] Tue, 11 March 2008 10:14 Go to previous messageGo to previous message
Balbir Singh is currently offline  Balbir Singh
Messages: 491
Registered: August 2006
Senior Member
KAMEZAWA Hiroyuki wrote:
> On Tue, 11 Mar 2008 19:09:02 +0900
> Li Zefan <lizf@cn.fujitsu.com> wrote:
> 
>> Allow memory.failcnt to be reset to 0:
>>
>>         echo 0 > memory.failcnt
>>
>> And '0' is the only valid value.
>>
> Can't this be generic resource counter function ?
> 

I was about to suggest a generic cgroup option, since we do reset values even
for the cpu accounting subsystem.

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Previous Topic: [PATCH 1/3] res_counter: introduce res_counter_write_u64()
Next Topic: [PATCH 0/3] Implement triggers for control groups.
Goto Forum:
  


Current Time: Wed Sep 10 07:52:05 GMT 2025

Total time taken to generate the page: 0.15565 seconds