All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@us.ibm.com>
To: Wu Fengguang <wfg@mail.ustc.edu.cn>,
	linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	mingo@elte.hu, levon@movementarian.org
Subject: Re: BUG: spinlock recursion on 2.6.14-mm2 when oprofiling
Date: Fri, 25 Nov 2005 21:14:54 -0800	[thread overview]
Message-ID: <20051126051454.GA3104@us.ibm.com> (raw)
In-Reply-To: <20051126033955.GC7226@mail.ustc.edu.cn>

On Sat, Nov 26, 2005 at 11:39:55AM +0800, Wu Fengguang wrote:
> On Fri, Nov 25, 2005 at 03:28:29PM -0800, Paul E. McKenney wrote:
> > And here is an alternative patch that assumes that the answer to both
> > questions above is "no".  It is shorter, though mostly due to use of
> > the list_splice_init() and list_for_each_entry_safe() primitives.
> 
> Ok, I'll try it. But it may take time.
> 
> Currently I'm running oprofile on linux-2.6.15-rc2-mm1. It seems the bug is not
> quite reproducible. I'll report again if there are any new findings.

Yep, the bug is indeed non-deterministic.  For it to happen, softirq
must interrupt a "task_mortuary" critical section, and that softirq
must execute a task-struct RCU callback.

						Thanx, Paul

      reply	other threads:[~2005-11-26  5:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 15:21 BUG: spinlock recursion on 2.6.14-mm2 when oprofiling Wu Fengguang
2005-11-25 22:01 ` Paul E. McKenney
2005-11-25 23:28   ` Paul E. McKenney
2005-11-26  3:39     ` Wu Fengguang
2005-11-26  5:14       ` Paul E. McKenney [this message]

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=20051126051454.GA3104@us.ibm.com \
    --to=paulmck@us.ibm.com \
    --cc=akpm@osdl.org \
    --cc=levon@movementarian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=wfg@mail.ustc.edu.cn \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.