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

From: Kirill A. Shutemov
Date: Thu Nov 26 2009 - 12:11:58 EST


On Thu, Nov 26, 2009 at 7:03 PM, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Nov 26, 2009 at 9:57 PM, Kirill A. Shutemov
> <kirill@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
>>
>
> I don't see the patches attached or inlined in the emails that follow

Sorry. Resent.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/