Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945910AbWBOJbk (ORCPT ); Wed, 15 Feb 2006 04:31:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1945912AbWBOJbk (ORCPT ); Wed, 15 Feb 2006 04:31:40 -0500 Received: from [218.25.172.144] ([218.25.172.144]:58120 "HELO mail.fc-cn.com") by vger.kernel.org with SMTP id S1945910AbWBOJbj (ORCPT ); Wed, 15 Feb 2006 04:31:39 -0500 Date: Wed, 15 Feb 2006 17:31:36 +0800 From: Coywolf Qi Hunt To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: Re: [patch] make sysctl_overcommit_memory enumeration sensible Message-ID: <20060215093136.GA2600@localhost.localdomain> References: <20060215085456.GA2481@localhost.localdomain> <20060215010559.55b55414.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060215010559.55b55414.akpm@osdl.org> User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 27 On Wed, Feb 15, 2006 at 01:05:59AM -0800, Andrew Morton wrote: > Coywolf Qi Hunt wrote: > > > > I see system admins often confused when they sysctl vm.overcommit_memory. > > This patch makes overcommit_memory enumeration sensible. > > > > 0 - no overcommit > > 1 - always overcommit > > 2 - heuristic overcommit (default) > > > > I don't feel this would break any userspace scripts. > > eh? If any such scripts exist, they'll break. > > Confused. > That's a corner case. Let'em break and fix. Otherwise, users will be confused. Even they get it right, after some weeks they'll have to re-read the doc. A logical user interface is important to human. -- Coywolf Qi Hunt - 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/