Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939841AbXHMWOV (ORCPT ); Mon, 13 Aug 2007 18:14:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753267AbXHMWNy (ORCPT ); Mon, 13 Aug 2007 18:13:54 -0400 Received: from cantor2.suse.de ([195.135.220.15]:43863 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755215AbXHMWNx (ORCPT ); Mon, 13 Aug 2007 18:13:53 -0400 Date: Tue, 14 Aug 2007 01:08:01 +0200 From: Andi Kleen To: Christoph Lameter Cc: Andi Kleen , Mel Gorman , Lee.Schermerhorn@hp.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 3/4] Embed zone_id information within the zonelist->zones pointer Message-ID: <20070813230801.GH3406@bingen.suse.de> References: <20070809210616.14702.73376.sendpatchset@skynet.skynet.ie> <200708102013.49170.ak@suse.de> <200708110304.55433.ak@suse.de> <20070813225020.GE3406@bingen.suse.de> <20070813225841.GG3406@bingen.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 34 On Mon, Aug 13, 2007 at 03:09:55PM -0700, Christoph Lameter wrote: > > > > There are still other architectures that use it. Biggest offender > > > > is s390. I'll leave them to their respective maintainers. > > > > > > IA64 also uses ZONE_DMA to support 32bit controllers. > > > > ZONE_DMA32 I thought? That one is not changed. > > x86_64 is the only platforms that uses ZONE_DMA32. Ia64 and other 64 bit > platforms use ZONE_DMA for <4GB allocs. Yes, but ZONE_DMA32 == ZONE_DMA. Also when the slab users of GFP_DMA are all gone ia64 won't need the slab support anymore. So either you change your ifdef in slub or switch to ZONE_DMA32 for IA64. The trouble is that this cannot be done globally, at least not until s390 and a few other architures using GFP_DMA with slab are all converted. > I think s/ZONE_DMA32/ZONE_DMA would restore the one DMA zone thing which > is good. We could drop all ZONE_DMA32 stuff that is only needed by a > single arch. But it's not quite the same: GFP_DMA32 has no explicit slab support. -Andi - 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/