Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932896AbXHKBG7 (ORCPT ); Fri, 10 Aug 2007 21:06:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755190AbXHKBGq (ORCPT ); Fri, 10 Aug 2007 21:06:46 -0400 Received: from ns2.suse.de ([195.135.220.15]:32923 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762891AbXHKBGp (ORCPT ); Fri, 10 Aug 2007 21:06:45 -0400 From: Andi Kleen To: Christoph Lameter Subject: Re: [PATCH 3/4] Embed zone_id information within the zonelist->zones pointer Date: Sat, 11 Aug 2007 03:04:54 +0200 User-Agent: KMail/1.9.1 Cc: Mel Gorman , Lee.Schermerhorn@hp.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20070809210616.14702.73376.sendpatchset@skynet.skynet.ie> <200708102013.49170.ak@suse.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708110304.55433.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1540 Lines: 35 On Friday 10 August 2007 21:02, Christoph Lameter wrote: > On Fri, 10 Aug 2007, Andi Kleen wrote: > > > x86_64 does not support ZONE_HIGHMEM. > > > > I also plan to eliminate ZONE_DMA soon (and replace all its users > > with a new allocator that sits outside the normal fallback lists) > > Hallelujah. You are my hero! x86_64 will switch off CONFIG_ZONE_DMA? Yes. i386 too actually. The DMA zone will be still there, but only reachable with special functions. This is fine because the default zone protection heuristics keep DMA near always free from !GFP_DMA allocations anyways -- so it doesn't make much difference if it's totally unreachable. swiotlb will also use the same pool. Also all callers are going to pass masks around so it's always clear what address range they really need. Actually a lot of them pass still 16MB simply because it is hard to find out what masks old undocumented hardware really needs. But this could change. This also means the DMA support in sl[a-z]b is not needed anymore. I went through near all GFP_DMA users and found they're usually happy enough with pages. If someone comes up who really needs lots of subobjects the right way for them would be likely extending the pci pool allocator for this case. But I haven't found a need for this yet. -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/