From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755190AbXJ2TpE (ORCPT ); Mon, 29 Oct 2007 15:45:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754081AbXJ2Tkf (ORCPT ); Mon, 29 Oct 2007 15:40:35 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:42204 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753862AbXJ2Tkc (ORCPT ); Mon, 29 Oct 2007 15:40:32 -0400 Date: Mon, 29 Oct 2007 12:40:29 -0700 From: Paul Jackson To: Lee Schermerhorn Cc: rientjes@google.com, clameter@sgi.com, akpm@linux-foundation.org, ak@suse.de, linux-kernel@vger.kernel.org Subject: Re: [patch 2/2] cpusets: add interleave_over_allowed option Message-Id: <20071029124029.2a86e536.pj@sgi.com> In-Reply-To: <1193676854.5035.121.camel@localhost> References: <20071025185506.8c373aa8.pj@sgi.com> <1193412644.5032.13.camel@localhost> <20071026120037.7b95a136.pj@sgi.com> <1193433239.5032.95.camel@localhost> <1193434278.5032.106.camel@localhost> <20071026180713.aeedfac2.pj@sgi.com> <20071026194144.6042316a.pj@sgi.com> <20071027161955.e9d4d2db.pj@sgi.com> <1193676854.5035.121.camel@localhost> 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 Lee wrote: > If most apps use libnuma APIs instead of directly calling the sys calls, > libnuma could query something as simple as an environment variable, or a > new flag to get_mempolicy(), or the value of a file in it's current > cpuset--but I'd like to avoid a dependency on libcpuset--to determine > whether to implement "new" semantics. The patch I'm working has a new set of options to get_mempolicy to set and get the per-task kernel state indicating whether to use the old or new semantics. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401