Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760200AbZKZRLW (ORCPT ); Thu, 26 Nov 2009 12:11:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755774AbZKZRLV (ORCPT ); Thu, 26 Nov 2009 12:11:21 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:36193 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755069AbZKZRLU (ORCPT ); Thu, 26 Nov 2009 12:11:20 -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 0/3] cgroup notifications API and memory thresholds Date: Thu, 26 Nov 2009 19:11:14 +0200 Message-Id: X-Mailer: git-send-email 1.6.5.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1090 Lines: 28 It's my first attempt to implement cgroup notifications API and memory thresholds on top of it. The idea of API was proposed by Paul Menage. It lacks some important features and need more testing, but I want publish it as soon as possible to get feedback from community. TODO: - memory thresholds on root cgroup; - memsw support; - documentation. Kirill A. Shutemov (3): cgroup: implement eventfd-based generic API for notifications res_counter: implement thresholds memcg: implement memory thresholds include/linux/cgroup.h | 8 ++ include/linux/res_counter.h | 44 +++++++++++ kernel/cgroup.c | 181 ++++++++++++++++++++++++++++++++++++++++++- kernel/res_counter.c | 4 + mm/memcontrol.c | 149 +++++++++++++++++++++++++++++++++++ 5 files changed, 385 insertions(+), 1 deletions(-) -- 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/