netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	"Tantilov, Emil S" <emil.s.tantilov@intel.com>,
	"Kirsher, Jeffrey T" <jeffrey.t.kirsher@intel.com>,
	netdev <netdev@vger.kernel.org>,
	David Miller <davem@davemloft.net>,
	"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@intel.com>,
	"Duyck, Alexander H" <alexander.h.duyck@intel.com>,
	Eric Dumazet <dada1@cosmosbay.com>
Subject: Re: unsafe locks seen with netperf on net-2.6.29 tree
Date: Mon, 29 Dec 2008 13:55:28 +0100	[thread overview]
Message-ID: <20081229125528.GA23674@elte.hu> (raw)
In-Reply-To: <20081229124942.GA11343@gondor.apana.org.au>


* Herbert Xu <herbert@gondor.apana.org.au> 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:
> >  [<c015a0d6>] print_usage_bug+0x176/0x1d0
> >  [<c015b800>] mark_lock+0xbd0/0xd80
> >  [<c015da13>] __lock_acquire+0x483/0xae0
> >  [<c015bcdb>] ? trace_hardirqs_on+0xb/0x10
> >  [<c015e0f9>] lock_acquire+0x89/0xc0
> >  [<c034fc75>] ? __percpu_counter_add+0x65/0xb0
> >  [<c07247a8>] _spin_lock+0x38/0x50
> >  [<c034fc75>] ? __percpu_counter_add+0x65/0xb0
> >  [<c034fc75>] __percpu_counter_add+0x65/0xb0
> >  [<c060dc49>] 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

  reply	other threads:[~2008-12-29 12:55 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-25 10:25 unsafe locks seen with netperf on net-2.6.29 tree Jeff Kirsher
2008-12-25 11:26 ` Herbert Xu
2008-12-26 14:08   ` Peter Zijlstra
2008-12-27 19:38     ` Tantilov, Emil S
2008-12-27 20:38       ` Peter Zijlstra
2008-12-28  0:54         ` Tantilov, Emil S
2008-12-29 10:02           ` Peter Zijlstra
2008-12-29 10:07             ` Herbert Xu
2008-12-29 10:16               ` Peter Zijlstra
2008-12-29 10:22                 ` Herbert Xu
2008-12-29 10:31             ` Herbert Xu
2008-12-29 10:37               ` Herbert Xu
2008-12-29 11:28                 ` Ingo Molnar
2008-12-29 11:31                   ` Ingo Molnar
2008-12-29 11:49                   ` Herbert Xu
2008-12-29 11:58                     ` Ingo Molnar
2008-12-29 12:01                       ` Herbert Xu
2008-12-29 12:16                         ` Ingo Molnar
2008-12-29 12:38                           ` Ingo Molnar
2008-12-29 12:44                             ` [patch] locking, percpu counters: introduce separate lock classes Ingo Molnar
2008-12-29 14:14                               ` Ingo Molnar
2008-12-30  3:58                                 ` Herbert Xu
2008-12-30  6:05                                   ` Ingo Molnar
2008-12-30  6:39                                     ` David Miller
2008-12-30  6:56                                       ` Ingo Molnar
2008-12-30  7:04                                         ` David Miller
2008-12-30  7:21                                           ` Ingo Molnar
2008-12-29 12:49                             ` unsafe locks seen with netperf on net-2.6.29 tree Herbert Xu
2008-12-29 12:55                               ` Ingo Molnar [this message]
2008-12-29  9:57   ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081229125528.GA23674@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=alexander.h.duyck@intel.com \
    --cc=dada1@cosmosbay.com \
    --cc=davem@davemloft.net \
    --cc=emil.s.tantilov@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=peter.p.waskiewicz.jr@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).