From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with SMTP id 3D1B16B00AE for ; Thu, 26 Nov 2009 11:28:09 -0500 (EST) Received: by mail-bw0-f215.google.com with SMTP id 7so722013bwz.6 for ; Thu, 26 Nov 2009 08:28:07 -0800 (PST) From: "Kirill A. Shutemov" Subject: [PATCH RFC v0 2/3] res_counter: implement thresholds Date: Thu, 26 Nov 2009 18:27:37 +0200 Message-Id: <8524ba285f6dd59cda939c28da523f344cdab3da.1259248846.git.kirill@shutemov.name> In-Reply-To: References: In-Reply-To: References: Sender: owner-linux-mm@kvack.org To: containers@lists.linux-foundation.org, linux-mm@kvack.org Cc: Paul Menage , Li Zefan , Andrew Morton , KAMEZAWA Hiroyuki , Balbir Singh , Pavel Emelyanov , linux-kernel@vger.kernel.org, "Kirill A. Shutemov" List-ID: It allows to setup two thresholds: one above current usage and one below. Callback threshold_notifier() will be called if a threshold is crossed. Signed-off-by: Kirill A. Shutemov -- 1.6.5.3 -- 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