Return-path: Received: from yw-out-2324.google.com ([74.125.46.28]:8964 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751487AbYLCC0h (ORCPT ); Tue, 2 Dec 2008 21:26:37 -0500 Received: by yw-out-2324.google.com with SMTP id 9so1358740ywe.1 for ; Tue, 02 Dec 2008 18:26:36 -0800 (PST) Message-ID: <43e72e890812021826w1820004chae7c245a8999c22f@mail.gmail.com> (sfid-20081203_032640_284030_5E1FB483) Date: Tue, 2 Dec 2008 18:26:36 -0800 From: "Luis R. Rodriguez" To: Sujith Subject: Re: [PATCH] ath9k: Use GFP_ATOMIC when allocating private area Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org, Jouni.Malinen@atheros.com, Luis.Rodriguez@atheros.com, Senthilkumar.Balasubramanian@atheros.com In-Reply-To: <18741.60148.86455.854634@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 References: <18741.12999.753996.233483@gargle.gargle.HOWL> <43e72e890812021614i103235few3a19721c6ca1d0cc@mail.gmail.com> <18741.59362.77483.600612@localhost.localdomain> <43e72e890812021809h3bc371d0t23e1c14d79a36617@mail.gmail.com> <18741.60148.86455.854634@localhost.localdomain> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Dec 2, 2008 at 6:12 PM, Sujith wrote: > Luis R. Rodriguez wrote: >> Interesting, I hadn't thought about stopping the queues, when would >> they be resumed then though, or rather who? I'll a rework of this >> ontop of more DMA fun, let me know what you think. I just tested this. >> > > In TX completion, when we see that a queue is stopped, we wake up that queue > if the depth is less than a threshold. Ah yeah I see that now, so this will wake it up but only if we're processing the txq on completion. So technically speaking if we ran out of memory on the first attempted skb, wouldn't we never resume it? Luis