From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 366D16B00B6 for ; Thu, 26 Nov 2009 12:03:10 -0500 (EST) Received: by pwi9 with SMTP id 9so679656pwi.6 for ; Thu, 26 Nov 2009 09:03:08 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <8524ba285f6dd59cda939c28da523f344cdab3da.1259248846.git.kirill@shutemov.name> Date: Thu, 26 Nov 2009 22:33:08 +0530 Message-ID: <661de9470911260903h4996070emec678f09a7ba2c9e@mail.gmail.com> Subject: Re: [PATCH RFC v0 3/3] memcg: implement memory thresholds From: Balbir Singh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org To: "Kirill A. Shutemov" Cc: containers@lists.linux-foundation.org, linux-mm@kvack.org, Paul Menage , Li Zefan , Andrew Morton , KAMEZAWA Hiroyuki , Pavel Emelyanov , linux-kernel@vger.kernel.org List-ID: 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 > =A0cgroup.event_control. > > Application will be notified through eventfd when memory usage crosses > threshold in any direction. > > Signed-off-by: Kirill A. Shutemov > I don't see the patches attached or inlined in the emails that follow Balbir -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org