Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758745Ab3DAWfI (ORCPT ); Mon, 1 Apr 2013 18:35:08 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:39263 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756506Ab3DAWfF (ORCPT ); Mon, 1 Apr 2013 18:35:05 -0400 Date: Mon, 1 Apr 2013 15:35:00 -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: <20130401223500.GB2487@htj.dyndns.org> References: <1328067470-5980-1-git-send-email-fweisbec@gmail.com> <20130401184617.GB31435@htj.dyndns.org> <20130401202943.GC31435@htj.dyndns.org> <20130401220309.GA2487@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: 1070 Lines: 26 Hey, On Mon, Apr 01, 2013 at 03:20:47PM -0700, Tim Hockin wrote: > > Ummmm.... so that's why you guys can't use kernel memory limit? :( > > Because it is completely non-obvious how to map between the two in a > way that is safe across kernel versions and not likely to blow up in > our faces. It's a hack, in other words. Now we're repeating the argument Frederic and Johannes had, so I'd suggest going back the thread and reading the discussion and if you still think using kmemcg is a bad idea, please explain why that is so. For the specific point that you just raised, the scale tilted toward thread/process count is a hacky and unreliable representation of kernel memory resource than the other way around, at least back then. If you think you can tilt it the other way, please feel free to try. 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/