netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: johannes@sipsolutions.net
Cc: davej@codemonkey.org.uk, netdev@vger.kernel.org
Subject: Re: 2.6.25rc7 lockdep trace
Date: Fri, 28 Mar 2008 18:06:31 -0700 (PDT)	[thread overview]
Message-ID: <20080328.180631.91055366.davem@davemloft.net> (raw)
In-Reply-To: <1206752049.22530.105.camel@johannes.berg>

From: Johannes Berg <johannes@sipsolutions.net>
Date: Sat, 29 Mar 2008 01:54:09 +0100

> Maybe we should check which schedule_work users actually lock the rtnl
> within the work function and move them to a uses-rtnl-in-work workqueue
> so that everybody else can have rtnl around flush.

The issue is that linkwatch goes: workqueue lock --> RTNL

And thus taking workqueue lock within RTNL is deadlock
prone no matter where you do it.

  parent reply	other threads:[~2008-03-29  1:06 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28  0:00 2.6.25rc7 lockdep trace Dave Jones
2008-03-28  1:55 ` Dave Jones
2008-03-29  0:34 ` David Miller
2008-03-29  0:54   ` Johannes Berg
2008-03-29  1:01     ` Johannes Berg
2008-03-29  1:09       ` David Miller
2008-04-02  8:51         ` Oleg Nesterov
2008-03-29  1:06     ` David Miller [this message]
2008-03-29 10:02       ` Johannes Berg
2008-03-29 12:52         ` Jarek Poplawski
2008-03-29 12:50           ` Johannes Berg
2008-04-03 20:48         ` David Miller
2008-04-04 14:48           ` Johannes Berg
2008-06-11  5:40             ` David Miller
2008-06-11  7:08               ` Jarek Poplawski
2008-06-11  7:10                 ` David Miller
2008-06-11  9:36               ` Jarek Poplawski
2008-06-12  0:34                 ` David Miller
2008-06-12  6:29                   ` Jarek Poplawski
2008-06-11 10:40               ` Jarek Poplawski
2008-06-12  0:31                 ` David Miller
2008-06-11 13:14               ` Jarek Poplawski
2008-06-12  5:46               ` David Miller
2008-06-12  7:20                 ` Johannes Berg
2008-06-12  8:23                   ` David Miller
2008-06-12  6:13               ` Jarek Poplawski
2008-06-12  7:01                 ` David Miller
2008-06-12  7:47                   ` Jarek Poplawski

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=20080328.180631.91055366.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=davej@codemonkey.org.uk \
    --cc=johannes@sipsolutions.net \
    --cc=netdev@vger.kernel.org \
    /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).