Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Dillow
Date: Tuesday, August 25, 2009 - 2:46 pm

On Tue, 2009-08-25 at 14:24 -0700, Eric W. Biederman wrote:

That is the normal case on an SMP machine, but again that race window
should be fairly small as well -- from the __napi_schedule() to the
acking of the interrupt source is only a few lines of code, most of
which is in an error case that is skipped. Granted there may be a fair
number of instructions there if debugging or tracing is on -- I've not
checked -- but even then hitting that race consistently for 60+ seconds
doesn't seem likely.

Being out of NAPI in the guard may be a red herring -- it doesn't tell
us how long you were out of NAPI when you hit it. If there's a stuck bit
somewhere, then you could have been out of NAPI after the first cycle
and we'd have no way to tell. You could add some variables to keep track
of the status and mask values, and how long ago they changed to see.


TxDescUnavail is normal -- it means the chip finished sending everything
we asked it to.


No, we never enable it on the chip, and it gets masked out when we
decide if we want to go to NAPI mode -- it is not set in tp->napi_event:

	if (status & tp->intr_mask & tp->napi_event) {



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, David Dillow, (Fri May 22, 6:29 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Buesch, (Sat May 23, 2:24 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Riepe, (Sat May 23, 7:35 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Buesch, (Sat May 23, 7:44 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Riepe, (Sat May 23, 8:01 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Riepe, (Sat May 23, 9:12 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Buesch, (Sat May 23, 9:40 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Buesch, (Sat May 23, 9:45 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Buesch, (Sat May 23, 9:50 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Riepe, (Sat May 23, 9:53 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, David Dillow, (Sat May 23, 10:03 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Francois Romieu, (Sun May 24, 2:15 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, David Miller, (Mon May 25, 10:55 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Buesch, (Tue May 26, 11:22 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Riepe, (Tue May 26, 3:40 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Buesch, (Wed May 27, 9:19 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Fri Aug 21, 1:57 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michael Riepe, (Fri Aug 21, 2:22 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Fri Aug 21, 5:24 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Sat Aug 22, 4:48 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Sat Aug 22, 5:07 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Jarek Poplawski, (Sun Aug 23, 10:17 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Michal Soltys, (Sun Aug 23, 10:43 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Jarek Poplawski, (Sun Aug 23, 10:54 am)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Sun Aug 23, 7:37 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Mon Aug 24, 5:51 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Tue Aug 25, 1:22 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Tue Aug 25, 2:24 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Tue Aug 25, 2:37 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, David Dillow, (Tue Aug 25, 2:46 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Francois Romieu, (Tue Aug 25, 3:19 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Francois Romieu, (Tue Aug 25, 4:11 pm)
Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts, Eric W. Biederman, (Tue Aug 25, 8:47 pm)
[PATCH] r8169: Reduce looping in the interrupt handler., Eric W. Biederman, (Wed Aug 26, 12:58 am)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Eric W. Biederman, (Wed Aug 26, 1:02 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Francois Romieu, (Wed Aug 26, 2:30 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Eric W. Biederman, (Wed Aug 26, 2:40 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Francois Romieu, (Wed Aug 26, 10:24 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Eric W. Biederman, (Wed Aug 26, 10:38 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Francois Romieu, (Thu Aug 27, 4:20 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Eric W. Biederman, (Thu Aug 27, 6:17 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Francois Romieu, (Sun Aug 30, 1:37 pm)
Re: [PATCH] r8169: Reduce looping in the interrupt handler., Eric W. Biederman, (Sun Aug 30, 1:53 pm)