From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: unsafe locks seen with netperf on net-2.6.29 tree Date: Mon, 29 Dec 2008 13:55:28 +0100 Message-ID: <20081229125528.GA23674@elte.hu> References: <1230544927.16718.12.camel@twins> <20081229103154.GA9691@gondor.apana.org.au> <20081229103735.GA9763@gondor.apana.org.au> <20081229112858.GA16385@elte.hu> <20081229114907.GA10170@gondor.apana.org.au> <20081229115827.GA441@elte.hu> <20081229120132.GA10363@gondor.apana.org.au> <20081229121626.GF9628@elte.hu> <20081229123819.GA18321@elte.hu> <20081229124942.GA11343@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Peter Zijlstra , "Tantilov, Emil S" , "Kirsher, Jeffrey T" , netdev , David Miller , "Waskiewicz Jr, Peter P" , "Duyck, Alexander H" , Eric Dumazet To: Herbert Xu Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:45115 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751665AbYL2Mzm (ORCPT ); Mon, 29 Dec 2008 07:55:42 -0500 Content-Disposition: inline In-Reply-To: <20081229124942.GA11343@gondor.apana.org.au> Sender: netdev-owner@vger.kernel.org List-ID: * Herbert Xu wrote: > On Mon, Dec 29, 2008 at 01:38:19PM +0100, Ingo Molnar wrote: > > > > hm, even with the revert i got the splat below. So some other commits are > > causing this too? > > Indeed, there is more :) > > > stack backtrace: > > Pid: 1435, comm: kjournald Not tainted 2.6.28-tip-03883-gf855e6c-dirty #13150 > > Call Trace: > > [] print_usage_bug+0x176/0x1d0 > > [] mark_lock+0xbd0/0xd80 > > [] __lock_acquire+0x483/0xae0 > > [] ? trace_hardirqs_on+0xb/0x10 > > [] lock_acquire+0x89/0xc0 > > [] ? __percpu_counter_add+0x65/0xb0 > > [] _spin_lock+0x38/0x50 > > [] ? __percpu_counter_add+0x65/0xb0 > > [] __percpu_counter_add+0x65/0xb0 > > [] tcp_v4_destroy_sock+0x1d9/0x240 > > This came from 1748376b6626acf59c24e9592ac67b3fe2a0e026 which also > has the same bug (although this particular trace is bogus and is > fixed by Peter's first patch). > > I think these are the only two percpu counter patches around that > time frame. > > Also watch out for 6976a1d6c222c50ac93d2273b9cf57e6fd047e59 when > reverting. okay, since i'm not really in the business of reverting various networking patches, would you mind to Cc: me to the real fixes, once they are available? Or do you think a revert will be the approach in -git? (in which case i can guinea-pig the above reverts i guess) Ingo