netdev
[Top] [All Lists]

Re: [PATCH] Prevent netpoll hanging when link is down

To: Andrew Morton <akpm@xxxxxxxx>
Subject: Re: [PATCH] Prevent netpoll hanging when link is down
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Sun, 10 Oct 2004 20:59:28 -0700
Cc: mpm@xxxxxxxxxxx, colin@xxxxxxxxxx, ak@xxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20041008151839.01823e0c.akpm@xxxxxxxx>
References: <20041006232544.53615761@xxxxxxxxxxxxxxx> <20041006214322.GG31237@xxxxxxxxx> <20041007075319.6b31430d@xxxxxxxxxxxxxxx> <20041006234912.66bfbdcc.davem@xxxxxxxxxxxxx> <20041007160532.60c3f26b@pirandello> <20041007112846.5c85b2d9.davem@xxxxxxxxxxxxx> <20041007224422.1c1bea95@xxxxxxxxxxxxxxx> <20041007214505.GB31558@xxxxxxxxxxxxx> <20041008090610.70d7e183@pirandello> <20041008220001.GE31237@xxxxxxxxx> <20041008151839.01823e0c.akpm@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Wait, I think I see the problem.

Sungem processes link status in it's ->poll() NAPI handler.
This occurs via calls to gem_pcs_interrupt(), for example.
Non-pcs sungem variants use a timer to poll link status.

When the link changes state, this link state processing
does printk()'s.

So perhaps that is why it deadlocks.

<Prev in Thread] Current Thread [Next in Thread>