Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760898AbZKZRDJ (ORCPT ); Thu, 26 Nov 2009 12:03:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760886AbZKZRDG (ORCPT ); Thu, 26 Nov 2009 12:03:06 -0500 Received: from mail-px0-f180.google.com ([209.85.216.180]:35999 "EHLO mail-px0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760884AbZKZRDD convert rfc822-to-8bit (ORCPT ); Thu, 26 Nov 2009 12:03:03 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=j73lZGW47CHE1hanbvu2v+x4gK54YOVcA5mqriMqHx3sxTZ1fobVreGFY3Nt7pgOWX qVg3Wb5OrDshUcS3LsnkoRsTQZvRJ1/ii316kR03UginZ5M2Ey+Ocy6pJ/1idF4i5NlN 4FToYwLr1pIbZNjppmB/ChAuqoe7kZLh8K6Xg= MIME-Version: 1.0 In-Reply-To: References: <8524ba285f6dd59cda939c28da523f344cdab3da.1259248846.git.kirill@shutemov.name> Date: Thu, 26 Nov 2009 22:33:08 +0530 X-Google-Sender-Auth: 626adb6b9fd01e24 Message-ID: <661de9470911260903h4996070emec678f09a7ba2c9e@mail.gmail.com> Subject: Re: [PATCH RFC v0 3/3] memcg: implement memory thresholds From: Balbir Singh 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 878 Lines: 25 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 > ?cgroup.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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/