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
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