Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757201Ab3DAU34 (ORCPT ); Mon, 1 Apr 2013 16:29:56 -0400 Received: from mail-da0-f48.google.com ([209.85.210.48]:51906 "EHLO mail-da0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756696Ab3DAU3y (ORCPT ); Mon, 1 Apr 2013 16:29:54 -0400 Date: Mon, 1 Apr 2013 13:29:43 -0700 From: Tejun Heo To: Tim Hockin Cc: Frederic Weisbecker , Andrew Morton , Li Zefan , LKML , "Kirill A. Shutemov" , Paul Menage , Johannes Weiner , Aditya Kali , Oleg Nesterov , Containers , Glauber Costa , Cgroups , Daniel J Walsh , "Daniel P. Berrange" , KAMEZAWA Hiroyuki , Max Kellermann , Mandeep Singh Baines Subject: Re: [PATCH 00/10] cgroups: Task counter subsystem v8 Message-ID: <20130401202943.GC31435@htj.dyndns.org> References: <1328067470-5980-1-git-send-email-fweisbec@gmail.com> <20130401184617.GB31435@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 28 On Mon, Apr 01, 2013 at 01:09:09PM -0700, Tim Hockin wrote: > Pardon my ignorance, but... what? Use kernel memory limits as a proxy > for process/thread counts? That sounds terrible - I hope I am Well, the argument was that process / thread counts were a poor and unnecessary proxy for kernel memory consumption limit. IIRC, Johannes put it as (I'm paraphrasing) "you can't go to Fry's and buy 4k thread worth of component". > misunderstanding? This task counter patch had several properties that > mapped very well to what we want. > > Is it dead in the water? After some discussion, Frederic agreed that at least his use case can be served well by kmemcg, maybe even better - IIRC it was container fork bomb scenario, so you'll have to argue your way in why kmemcg isn't a suitable solution for your use case if you wanna revive this. Thanks. -- tejun -- 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/