Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932945AbZKZQ2E (ORCPT ); Thu, 26 Nov 2009 11:28:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932685AbZKZQ2C (ORCPT ); Thu, 26 Nov 2009 11:28:02 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:55064 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932514AbZKZQ2B (ORCPT ); Thu, 26 Nov 2009 11:28:01 -0500 From: "Kirill A. Shutemov" 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" 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> X-Mailer: git-send-email 1.6.5.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 463 Lines: 14 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 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/