Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751891AbZKZSi0 (ORCPT ); Thu, 26 Nov 2009 13:38:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750867AbZKZSiZ (ORCPT ); Thu, 26 Nov 2009 13:38:25 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:46964 "EHLO mail-fx0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791AbZKZSiZ convert rfc822-to-8bit (ORCPT ); Thu, 26 Nov 2009 13:38:25 -0500 MIME-Version: 1.0 In-Reply-To: <4B0EB4B6.5000702@free.fr> References: <4B0EB4B6.5000702@free.fr> Date: Thu, 26 Nov 2009 20:38:27 +0200 Message-ID: Subject: Re: [PATCH RFC v0 0/3] cgroup notifications API and memory thresholds From: "Kirill A. Shutemov" To: Daniel Lezcano Cc: containers@lists.linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Paul Menage , Balbir Singh , Andrew Morton , Pavel Emelyanov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 26 On Thu, Nov 26, 2009 at 7:02 PM, Daniel Lezcano wrote: > Kirill A. Shutemov wrote: >> >> 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. >> > > Maybe it would be interesting to do that for the /cgroup//tasks by > sending in the event the number of tasks in the cgroup when it changes, so > it more easy to detect 0 process event and then remove the cgroup directory, > no ? I'll do it later. -- 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/