public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Li Zefan <lizf@cn.fujitsu.com>
To: Wu Fengguang <fengguang.wu@intel.com>
Cc: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: lockdep: possible fasync_lock/f_lock irq lock inversion dependency
Date: Tue, 03 Mar 2009 11:38:45 +0800	[thread overview]
Message-ID: <49ACA645.7080808@cn.fujitsu.com> (raw)
In-Reply-To: <20090303024900.GA24473@localhost>

Wu Fengguang wrote:
> Hello,
> 
> I get a lockdep warning on HP 6910p:
> 

I saw this too, immediately when I opened Konsole after system boot,
and I was using 2.6.29-rc6-mm1.

> [  313.825353]
> [  313.825356] =========================================================
> [  313.825375] [ INFO: possible irq lock inversion dependency detected ]
> [  313.825385] 2.6.29-rc5-next-20090220 #62
> [  313.825393] ---------------------------------------------------------
> [  313.825401] swapper/0 just changed the state of lock:
> [  313.825409]  (fasync_lock){.-....}, at: [<ffffffff810ec9ae>] kill_fasync+0x2e/0x60
> [  313.825443] but this lock took another, HARDIRQ-READ-irq-unsafe lock in the past:
> [  313.825451]  (&f->f_lock){+.+...}
> [  313.825464]
> [  313.825465] and interrupts could create inverse lock ordering between them.
> [  313.825468]
> [  313.825484]
> [  313.825486] other info that might help us debug this:
> [  313.825497] 4 locks held by swapper/0:
> [  313.825504]  #0:  (&serio->lock){-.-...}, at: [<ffffffff8134afa1>] serio_interrupt+0x31/0xa0
> [  313.825539]  #1:  (&dev->event_lock){-.-...}, at: [<ffffffff8134fffc>] input_event+0x5c/0xa0
> [  313.825570]  #2:  (rcu_read_lock){.+.+..}, at: [<ffffffff8134e570>] input_pass_event+0x0/0xf0
> [  313.825600]  #3:  (rcu_read_lock){.+.+..}, at: [<ffffffff813538d0>] evdev_event+0x0/0x120
> [  313.825630]


      reply	other threads:[~2009-03-03  3:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03  2:49 lockdep: possible fasync_lock/f_lock irq lock inversion dependency Wu Fengguang
2009-03-03  3:38 ` Li Zefan [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=49ACA645.7080808@cn.fujitsu.com \
    --to=lizf@cn.fujitsu.com \
    --cc=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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