From: Arjan van de Ven <arjan@infradead.org>
To: Petr Vandrovec <petr@vandrovec.name>
Cc: video4linux-list@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Possible deadlock in videobuf_dma_init_user
Date: Sun, 20 Aug 2006 21:50:15 +0200 [thread overview]
Message-ID: <1156103415.23756.58.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <20060820191930.GA21729@platan.vc.cvut.cz>
On Sun, 2006-08-20 at 21:19 +0200, Petr Vandrovec wrote:
> Hello,
> my kernel is a bit unhappy with lock ordering between mm->mmap_sem
> and videobuf_queue->lock.
> Thanks,
> Petr Vandrovec
looks like a real deadlock to me...
bttv_prepare_buffer takes mutex then
videobuf_dma_init_user takes mmap_sem
do_mmap_pgoff takes mmap_sem then calls
bttv_mmap which calls
videobuf_mmap_mapper takes the mutex
so a classic AB-BA deadlock....
prev parent reply other threads:[~2006-08-20 19:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-20 19:19 Petr Vandrovec
2006-08-20 19:50 ` Arjan van de Ven [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=1156103415.23756.58.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=petr@vandrovec.name \
--cc=video4linux-list@redhat.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 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®