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

Kirill A. Shutemov kirill at shutemov.name
Thu Nov 26 09:11:46 PST 2009


On Thu, Nov 26, 2009 at 7:03 PM, Balbir Singh <balbir at linux.vnet.ibm.com> wrote:
> On Thu, Nov 26, 2009 at 9:57 PM, Kirill A. Shutemov
> <kirill at shutemov.name> 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 "<event_fd> <memory.usage_in_bytes> <threshold>" to
>>  cgroup.event_control.
>>
>> Application will be notified through eventfd when memory usage crosses
>> threshold in any direction.
>>
>> Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
>>
>
> I don't see the patches attached or inlined in the emails that follow

Sorry. Resent.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list