From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755753AbXJ0TQf (ORCPT ); Sat, 27 Oct 2007 15:16:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752133AbXJ0TQ2 (ORCPT ); Sat, 27 Oct 2007 15:16:28 -0400 Received: from smtp-out.google.com ([216.239.33.17]:52561 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699AbXJ0TQ1 (ORCPT ); Sat, 27 Oct 2007 15:16:27 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:date:from:x-x-sender:to:cc:subject:in-reply-to: message-id:references:mime-version:content-type; b=L9XCx3aA1uC/E1ABM3CQ6f7cnCohs+XWD3h6uRCp3LLhnEev796HmmAJaOXb+4rvQ YHXgMdmRl0ryj/U0pOlvQ== Date: Sat, 27 Oct 2007 12:16:12 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Lee Schermerhorn cc: Christoph Lameter , Andrew Morton , Andi Kleen , Paul Jackson , linux-kernel@vger.kernel.org Subject: Re: [patch 2/2] cpusets: add interleave_over_allowed option In-Reply-To: Message-ID: References: <1193411888.5032.9.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, David Rientjes wrote: > Hacking and requiring an updated version of libnuma to allow empty > nodemasks to be passed is a poor solution; if mempolicy's are supposed to > be independent from cpusets, then what semantics does an empty nodemask > actually imply when using MPOL_INTERLEAVE? To me, it means the entire > set_mempolicy() should be a no-op, and that's exactly how mainline > currently treats it _as_well_ as libnuma. So justifying this change in > the man page is respectible, but passing an empty nodemask just doesn't > make sense. > Another reason that passing an empty nodemask to set_mempolicy() doesn't make sense is that libnuma uses numa_set_interleave_mask(&numa_no_nodes) to disable interleaving completely. David