| To: | Colin Leroy <colin@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Prevent netpoll hanging when link is down |
| From: | Matt Mackall <mpm@xxxxxxxxxxx> |
| Date: | Fri, 8 Oct 2004 16:53:03 -0500 |
| Cc: | Andi Kleen <ak@xxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, akpm@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20041008084640.58976145@pirandello> |
| References: | <20041006234912.66bfbdcc.davem@davemloft.net> <20041007160532.60c3f26b@pirandello> <20041007112846.5c85b2d9.davem@davemloft.net> <20041007224422.1c1bea95@jack.colino.net> <20041007214505.GB31558@wotan.suse.de> <20041007215025.GT31237@waste.org> <20041007150756.2373719f.davem@davemloft.net> <20041007234322.GW31237@waste.org> <20041007235022.GB19864@wotan.suse.de> <20041008084640.58976145@pirandello> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
On Fri, Oct 08, 2004 at 08:46:40AM +0200, Colin Leroy wrote: > On 08 Oct 2004 at 01h10, Andi Kleen wrote: > > Hi, > > > > Deadlocks from recursion, presumably? We could probably throw in a > > > max retry count, as ugly as that is.. > > > > There should not be any recursion, no. > > If printk() is synchronous, there could be, if there's a printk() in the > codepath taken by dev->hard_start_xmit()... But I don't if it is... Have you looked at the code path that does carrier detect for possibly recursing printks? > > For most network drivers this shouldn't occur though because > > the net driver private lock is usually always taken with interrupts > > off. > > Second newbie question: how are the interrupts disabled, is it via > local_irq_save()/local_irq_restore()? or is it something else ? Often by virtue of being in an interrupt context already. -- Mathematics is the supreme nostalgia of our time. |
| Previous by Date: | Re: Fw: [Bugme-new] [Bug 3527] New: ssh does not work with 2.6.9rc3, Alberto Manuel Brandao Simoes |
|---|---|
| Next by Date: | Re: [PATCH] Prevent netpoll hanging when link is down, Matt Mackall |
| Previous by Thread: | Re: [PATCH] Prevent netpoll hanging when link is down, Colin Leroy |
| Next by Thread: | Re: [PATCH] Prevent netpoll hanging when link is down, Colin Leroy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |