From: Avi Kivity <avi@qumranet.com>
To: Max Krasnyansky <maxk@qualcomm.com>
Cc: LKML <linux-kernel@vger.kernel.org>, andrea@qumranet.com
Subject: Re: Circular vma locking with kvm, seems to be mmu notifiers related
Date: Wed, 13 Aug 2008 11:36:29 +0300 [thread overview]
Message-ID: <48A29D0D.9010801@qumranet.com> (raw)
In-Reply-To: <48A0D6A9.4030603@qualcomm.com>
Max Krasnyansky wrote:
> Got this on the latest mainline git.
> There are already a couple of lockdep/kvm threads. So maybe it's known.
>
> =============================================
> [ INFO: possible recursive locking detected ]
> 2.6.27-rc2 #36
> ---------------------------------------------
> qemu-system-x86/3445 is trying to acquire lock:
> (&anon_vma->lock){--..}, at: [<ffffffff8029f84d>] mm_take_all_locks+0x8d/0xf0
>
> but task is already holding lock:
> (&anon_vma->lock){--..}, at: [<ffffffff8029f84d>] mm_take_all_locks+0x8d/0xf0
>
>
Seems to be a false positive. mmu_take_all_locks takes (surprise!) all
anon_vma->locks belonging to an mm, and takes special care not to
deadlock while doing this.
We need to communicate this to lockdep somehow.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-08-13 8:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-12 0:17 Circular vma locking with kvm, seems to be mmu notifiers related Max Krasnyansky
2008-08-13 8:36 ` Avi Kivity [this message]
2008-08-13 8:49 ` Johannes Weiner
2008-08-13 9:01 ` Avi Kivity
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=48A29D0D.9010801@qumranet.com \
--to=avi@qumranet.com \
--cc=andrea@qumranet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maxk@qualcomm.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 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.