Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264265AbUFXLgI (ORCPT ); Thu, 24 Jun 2004 07:36:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264270AbUFXLgI (ORCPT ); Thu, 24 Jun 2004 07:36:08 -0400 Received: from cantor.suse.de ([195.135.220.2]:56746 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S264265AbUFXLgH (ORCPT ); Thu, 24 Jun 2004 07:36:07 -0400 Date: Thu, 24 Jun 2004 13:29:00 +0200 From: Andi Kleen To: Takashi Iwai Cc: Andi Kleen , Terence Ripperda , discuss@x86-64.org, linux-kernel@vger.kernel.org, andrea@suse.de Subject: Re: [discuss] Re: 32-bit dma allocations on 64-bit platforms Message-ID: <20040624112900.GE16727@wotan.suse.de> References: <20040623213643.GB32456@hygelac> <20040623234644.GC38425@colin2.muc.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: 460 Lines: 12 > Can't it be called with GFP_KERNEL at first, then with GFP_DMA if the > allocated pages are out of dma mask, just like in pci-gart.c? > (with ifdef x86-64) That won't work reliable enough in extreme cases. -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/