Thread (30 messages) 30 messages, 6 authors, 2008-12-30

Re: unsafe locks seen with netperf on net-2.6.29 tree

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-12-29 10:32:02

On Mon, Dec 29, 2008 at 11:02:07AM +0100, Peter Zijlstra wrote:
Subject: net: fix tcp deadlock

Lockdep spotted that the percpu counter op takes a lock so that softirq
recursion deadlocks can occur. Delay the op until we've disabled
softirqs to avoid this.

Signed-off-by: Peter Zijlstra <redacted>
You also need to patch the other places where we use that percpu
counter from process context, e.g., for /proc/net/tcp.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help