Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750727AbWHVFGc (ORCPT ); Tue, 22 Aug 2006 01:06:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750731AbWHVFGc (ORCPT ); Tue, 22 Aug 2006 01:06:32 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:1927 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1750727AbWHVFGb (ORCPT ); Tue, 22 Aug 2006 01:06:31 -0400 Date: Mon, 21 Aug 2006 22:06:25 -0700 From: Paul Jackson To: Andrew Morton Cc: anton@samba.org, simon.derr@bull.net, nathanl@austin.ibm.com, linux-kernel@vger.kernel.org Subject: Re: cpusets not cpu hotplug aware Message-Id: <20060821220625.36abd1d9.pj@sgi.com> In-Reply-To: <20060821215120.244f1f6f.akpm@osdl.org> References: <20060821132709.GB8499@krispykreme> <20060821104334.2faad899.pj@sgi.com> <20060821192133.GC8499@krispykreme> <20060821140148.435d15f3.pj@sgi.com> <20060821215120.244f1f6f.akpm@osdl.org> Organization: SGI X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.3; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1118 Lines: 27 Andrew wrote: > If the kernel provider (ie: distro) has enabled cpusets then it would be > appropriate that they also provide a hotplug script which detects whether their > user is actually using cpusets and if not, to take some sensible default action Interesting point - whether the default action to fix up the cpuset configuration when a CPU goes on or offline should be: 1) coded in kernel/cpuset.c, or 2) coded in a hotplug script. I've got 25 cents that says Andrew votes for (2). At least so far as the cpuset aware portion of the coding goes, it would probably be easier for me to code in a hotplug script. I should learn enough about how hotplug scripts work to see if this will really work. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401 - 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/