Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934412AbYBTQ1h (ORCPT ); Wed, 20 Feb 2008 11:27:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765574AbYBTQLx (ORCPT ); Wed, 20 Feb 2008 11:11:53 -0500 Received: from Mycroft.westnet.com ([216.187.52.7]:46782 "EHLO Mycroft.westnet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765408AbYBTQLP (ORCPT ); Wed, 20 Feb 2008 11:11:15 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18364.20755.798295.881259@stoffel.org> Date: Wed, 20 Feb 2008 11:10:59 -0500 From: "John Stoffel" To: Jan Engelhardt Cc: Balbir Singh , John Stoffel , Andi Kleen , akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] Document huge memory/cache overhead of memory controller in Kconfig In-Reply-To: References: <20080220122338.GA4352@basil.nowhere.org> <47BC2275.4060900@linux.vnet.ibm.com> <18364.16552.455371.242369@stoffel.org> <47BC4554.10304@linux.vnet.ibm.com> X-Mailer: VM 8.0.x-xemacs-542 under Emacs 22.1.1 (i486-pc-linux-gnu) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2466 Lines: 59 >>>>> "Jan" == Jan Engelhardt writes: Jan> On Feb 20 2008 20:50, Balbir Singh wrote: >> John Stoffel wrote: >>> I know this is a pedantic comment, but why the heck is it called such >>> a generic term as "Memory Controller" which doesn't give any >>> indication of what it does. >>> >>> Shouldn't it be something like "Memory Quota Controller", or "Memory >>> Limits Controller"? >> >> It's called the memory controller since it controls the amount of >> memory that a user can allocate (via limits). The generic term for >> any resource manager plugged into cgroups is a controller. Jan> For ordinary desktop people, memory controller is what developers Jan> know as MMU or sometimes even some other mysterious piece of Jan> silicon inside the heavy box. That's what was confusing me at first. I was wondering why we needed a memory controller when we already had one in Linux! Also, controlling a resource is more a matter of limits or quotas, not controls. Well, I'll actually back off on that, since controls does have a history in other industries. But for computers, limits is an expected and understood term, and for filesystems it's quotas. So in this case, I *still* think you should be using the term "Memory Quota Controller" instead. It just makes it clearer to a larger audience what you mean. >> If you look through some of the references in the document, we've >> listed our plans to support other categories of memory as well. >> Hence it's called a memory controller >> >>> Also, the Kconfig name "CGROUP_MEM_CONT" is just wrong, it should >>> be "CGROUP_MEM_CONTROLLER", just spell it out so it's clear what's >>> up. >> This has some history as well. Control groups was called containers >> earlier. That way a name like CGROUP_MEM_CONT could stand for >> cgroup memory container or cgroup memory controller. Jan> CONT is shorthand for "continue" ;-) (SIGCONT, f.ex.), ctrl or Jan> ctrlr it is for controllers (comes from Solaris iirc.) Right, CTLR would be more regular shorthand for CONTROLLER. Basically, I think you're overloading a commonly used term for your own uses and when it's exposed to regular users, it will cause confusion. Thanks, John -- 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/