[Devel] Re: [PATCH RFC v0 3/3] memcg: implement memory thresholds

2009-12-07 Thread Kirill A. Shutemov
On Thu, Nov 26, 2009 at 7:03 PM, Balbir Singh wrote: > On Thu, Nov 26, 2009 at 9:57 PM, Kirill A. Shutemov > wrote: >> It allows to register multiple memory thresholds and gets notifications >> when it crosses. >> >> To register a threshold application need: >> - create an eventfd; >> - open file

[Devel] Re: [PATCH RFC v0 3/3] memcg: implement memory thresholds

2009-11-26 Thread Balbir Singh
On Thu, Nov 26, 2009 at 9:57 PM, Kirill A. Shutemov wrote: > It allows to register multiple memory thresholds and gets notifications > when it crosses. > > To register a threshold application need: > - create an eventfd; > - open file memory.usage_in_bytes of a cgroup > - write string " " to >  c