Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Oct 2002 00:03:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Oct 2002 00:03:25 -0400 Received: from franka.aracnet.com ([216.99.193.44]:30924 "EHLO franka.aracnet.com") by vger.kernel.org with ESMTP id ; Thu, 10 Oct 2002 00:03:25 -0400 Date: Wed, 09 Oct 2002 21:06:16 -0700 From: "Martin J. Bligh" Reply-To: "Martin J. Bligh" To: colpatch@us.ibm.com, linux-kernel , linux-mm@kvack.org, LSE , Andrew Morton , Michael Hohnbaum Subject: Re: [rfc][patch] Memory Binding API v0.3 2.5.41 Message-ID: <1586204621.1034197575@[10.10.2.3]> In-Reply-To: <3DA4D3E4.6080401@us.ibm.com> References: <3DA4D3E4.6080401@us.ibm.com> X-Mailer: Mulberry/2.1.2 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 20 > +#define for_each_valid_zone(zone, zonelist) \ > + for (zone = *zonelist->zones; zone; zone++) \ > + if (current->memblk_binding.bitmask & (1 << zone->zone_pgdat->memblk_id)) Does the compiler optimise the last bit away on non-NUMA? Want to wrap it in #ifdef CONFIG_NUMA_MEMBIND or something? Not sure what the speed impact of this would be, but I'd rather it was optional, even on NUMA boxen. Other than that, looks pretty good. M. - 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/