From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765975AbXJZVhu (ORCPT ); Fri, 26 Oct 2007 17:37:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760488AbXJZVhm (ORCPT ); Fri, 26 Oct 2007 17:37:42 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:38966 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757909AbXJZVhm (ORCPT ); Fri, 26 Oct 2007 17:37:42 -0400 Date: Fri, 26 Oct 2007 14:37:41 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Lee Schermerhorn cc: David Rientjes , Paul Jackson , akpm@linux-foundation.org, ak@suse.de, linux-kernel@vger.kernel.org Subject: Re: [patch 2/2] cpusets: add interleave_over_allowed option In-Reply-To: <1193433992.5032.102.camel@localhost> Message-ID: References: <20071025185506.8c373aa8.pj@sgi.com> <1193412644.5032.13.camel@localhost> <20071026120037.7b95a136.pj@sgi.com> <1193433239.5032.95.camel@localhost> <1193433992.5032.102.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Oct 2007, Lee Schermerhorn wrote: > > > Now, if we could replace the 'cpuset_mems_allowed' nodemask with a > > > pointer to something stable, it might be a win. > > > > The memory policies are already shared and have refcounters for that > > purpose. > > I must have missed that in the code I'm reading :) What is the benefit of having pointers to nodemasks? We likely would need to have refcounts in those nodemasks too? So we duplicate a lot of the characteristics of memory policies?