Return-path: Received: from mga03.intel.com ([143.182.124.21]:52851 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754206Ab0BIREy (ORCPT ); Tue, 9 Feb 2010 12:04:54 -0500 Subject: Re: PROBLEM: iwlagn kernel 2.6.32.3 ooops From: reinette chatre To: Stanislaw Gruszka Cc: Andrew Morton , "lkml@Think-Future.de" , Linux Kernel-Liste , "ilw@linux.intel.com" , "linux-wireless@vger.kernel.org" In-Reply-To: <20100209165247.GB2512@dhcp-lab-161.englab.brq.redhat.com> References: <20100206170348.GB9411@localhost> <20100208143118.e8e5a1ee.akpm@linux-foundation.org> <20100209165247.GB2512@dhcp-lab-161.englab.brq.redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 09 Feb 2010 09:04:52 -0800 Message-ID: <1265735092.2551.1835.camel@rchatre-DESK> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Stanislaw, On Tue, 2010-02-09 at 08:52 -0800, Stanislaw Gruszka wrote: > > > > [250420.677168] Pid: 11584, comm: ip Not tainted 2.6.32.3 #5 > > > [250420.677173] Call Trace: > > > [250420.677190] [] ? __alloc_pages_nodemask+0x518/0x5f0 > > > [250420.677204] [] ? dma_generic_alloc_coherent+0x0/0x100 > > > [250420.677214] [] ? dma_generic_alloc_coherent+0x72/0x100 > > > [250420.677224] [] ? dma_generic_alloc_coherent+0x0/0x100 > > > [250420.677241] [] ? iwl_tx_queue_init+0x285/0x380 [iwlcore] > > That is at initialization time. To avoid atomic allocation we can just > use dma_alloc_coherent instead of pci_alloc_consistent. I'm going to > prepare a patch. I do not understand your goal here ... as seen in this trace pci_alloc_consistent itself already calls dma_alloc_coherent right away. Reinette