Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758765AbZGGUZZ (ORCPT ); Tue, 7 Jul 2009 16:25:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754703AbZGGUZN (ORCPT ); Tue, 7 Jul 2009 16:25:13 -0400 Received: from easi.embeddedalley.com ([71.6.201.124]:57697 "HELO easi.embeddedalley.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754946AbZGGUZM (ORCPT ); Tue, 7 Jul 2009 16:25:12 -0400 From: Vladislav Buzov To: Linux Kernel Mailing List Cc: Linux Containers Mailing List , Dan Malek , Andrew Morton , Paul Menage , KAMEZAWA Hiroyuki , Balbir Singh Subject: [PATCH 0/1] Memory usage limit notification addition to memcg Date: Tue, 7 Jul 2009 13:25:09 -0700 Message-Id: <1246998310-16764-1-git-send-email-vbuzov@embeddedalley.com> X-Mailer: git-send-email 1.5.6.3 In-Reply-To: <1239660512-25468-1-git-send-email-dan@embeddedalley.com> References: <1239660512-25468-1-git-send-email-dan@embeddedalley.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 21 Hello all, The following patch introduces memory usage limit notification capability to the Memory Controller cgroup. It is a reworked version of a patch sent by Dan Malek in April 2009. The major difference between this and original patches is a modified method of notification threshold setting. The original patch implemented threshold as a percentage of the memory controller limit. During following discussion it's been decided to change percentage to an absolute number representing the minimal amount of memory that should be available below the limit. The following patch implements this method along with various clean-ups and style changes. Thanks, Vlad. -- 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/