Return-path: Received: from mail-gx0-f16.google.com ([209.85.217.16]:34049 "EHLO mail-gx0-f16.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755714AbYIRSeF (ORCPT ); Thu, 18 Sep 2008 14:34:05 -0400 Received: by gxk9 with SMTP id 9so31655816gxk.13 for ; Thu, 18 Sep 2008 11:34:03 -0700 (PDT) Message-ID: <43e72e890809181134ybbec8fdxcb2a466aa17fe390@mail.gmail.com> (sfid-20080918_203410_017203_91DDB512) Date: Thu, 18 Sep 2008 11:34:03 -0700 From: "Luis R. Rodriguez" To: "Steven Noonan" Subject: Re: [ath9k-devel] ath9k: massive unexplained latency in 2.6.27 (rc5, rc6, probably others) Cc: LKML , "Ingo Molnar" , linux-wireless , "ath9k-devel@lists.ath9k.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 References: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Sep 18, 2008 at 11:23 AM, Steven Noonan wrote: > The only thing I can think of is that I've > got 'irqpoll' on the command line. I have it because I had to reload > the ath9k driver at one point, and this was the result (caused ath9k > to become a useless driver until I rebooted, which re-enabled IRQ 17): > > [53997.493777] ath9k: driver unloaded > [54001.098532] ath9k: 0.1 > [54001.098833] ath9k 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 > [54001.099013] ath9k 0000:03:00.0: setting latency timer to 64 > [54001.233825] phy1: Selected rate control algorithm 'ath9k_rate_control' > [54001.236980] phy1: Atheros 5416: mem=0xffffc20000060000, irq=17 > [54002.136218] irq 17: nobody cared (try booting with the "irqpoll" option) > [54002.136229] Pid: 0, comm: swapper Tainted: P 2.6.27-rc6-00036-ga551b98 #2 > [54002.136234] > [54002.136235] Call Trace: > [54002.136241] [] __report_bad_irq+0x3d/0x81 > [54002.136258] [] note_interrupt+0x202/0x267 > [54002.136265] [] handle_fasteoi_irq+0xba/0xe4 > [54002.136273] [] do_IRQ+0x115/0x191 > [54002.136279] [] ret_from_intr+0x0/0xa > [54002.136283] [] ? > tick_nohz_stop_sched_tick+0x2c5/0x2d4 > [54002.136296] [] ? cpu_idle+0x2d/0xed > [54002.136304] [] ? rest_init+0x75/0x77 > [54002.136309] > [54002.136312] handlers: > [54002.136315] [] (ath_isr+0x0/0x160 [ath9k]) > [54002.136340] Disabling IRQ #17 irqpoll is a monster of evil and that should make your system crawl to its knees. I would advise instead we work with you fixing the the missed interrupts issue upon rmmod. Luis