From: Steven Rostedt <rostedt@goodmis.org>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org, Peter Zijlstra <peterz@infradead.org>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: Re: [autofs] Lockdep splat in autofs with 2.6.39-rc2
Date: Mon, 25 Jul 2011 08:33:55 -0400 [thread overview]
Message-ID: <1311597236.3526.3.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <1311562011.3401.13.camel@perseus.themaw.net>
On Mon, 2011-07-25 at 10:46 +0800, Ian Kent wrote:
> On Thu, 2011-04-21 at 17:25 -0400, Steven Rostedt wrote:
> > On Thu, Apr 07, 2011 at 03:44:03PM -0400, Nick Bowler wrote:
> > > Just saw this on 2.6.39-rc2 after half a day or so of uptime. I've
> > > never seen it before today so it may be a regression from 2.6.38.
> > > Nothing seems have failed as a result. Please let me know if you
> > > need any more info.
> > >
> >
> > Could you try this patch. I know it may be hard to reproduce, but the
> > issue is that we are recursing down the locks in a tree/list and we changed a
> > lock from being nested to being a parent. This patch tells lockdep about
> > what we did.
> >
> > Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
>
> Hi Steven,
>
> It appears this is not included in current mainline yet so I'm guessing
> it is still a problem.
>
> Is this the correct way to handle the problem?
Yes this is the correct way to handle the issue. There is no deadlock
because the locks are taken and released as it walks the list that
should always be ordered. This is the way to tell lockdep what it is
doing.
> Do you want me to forward the patch to Al Viro for inclusion in his tree
> and subsequent inclusion in mainline or would you like to do that?
Sure, go ahead.
Thanks,
-- Steve
prev parent reply other threads:[~2011-07-25 12:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-07 19:44 Nick Bowler
2011-04-13 19:26 ` Maciej Rutecki
2011-04-13 19:43 ` Nick Bowler
2011-04-14 19:38 ` Maciej Rutecki
2011-04-21 21:25 ` Steven Rostedt
2011-04-27 13:22 ` Nick Bowler
2011-05-11 19:13 ` Nick Bowler
2011-06-14 0:43 ` Steven Rostedt
2011-06-20 14:48 ` Nick Bowler
2011-07-25 2:46 ` [autofs] " Ian Kent
2011-07-25 12:33 ` Steven Rostedt [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=1311597236.3526.3.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=autofs@linux.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=raven@themaw.net \
/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
all inboxes | Powered by JetHome®