Thread (8 messages) read the whole thread 8 messages, 4 authors, 2013-03-12

Re: [PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

From: David Miller <davem@davemloft.net>
Date: 2013-01-04 23:20:37
Also in: lkml

From: Lubomir Rintel <lkundrak@v3.sk>
Date: Fri,  4 Jan 2013 15:17:43 +0100
quoted hunk ↗ jump to hunk
@@ -943,7 +943,7 @@ static int txq_reclaim(struct tx_queue *txq, int budget, int force)
 	struct netdev_queue *nq = netdev_get_tx_queue(mp->dev, txq->index);
 	int reclaimed;
 
-	__netif_tx_lock(nq, smp_processor_id());
+	__netif_tx_lock_bh(nq);
I still don't understand why this change is necessary.

The TX reclaim function is invoked in software interrupt context in
all of the places where this lockdep warning might matter.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help