From: Hans de Goede <hdegoede@redhat.com>
To: "Németh Márton" <nm127@freemail.hu>
Cc: Jean-Francois Moine <moinejf@free.fr>,
V4L Mailing List <linux-media@vger.kernel.org>
Subject: Re: pac7302: INFO: possible circular locking dependency detected
Date: Sun, 08 Nov 2009 17:18:33 +0100 [thread overview]
Message-ID: <4AF6EF59.90206@redhat.com> (raw)
In-Reply-To: <4AF695CC.7040809@freemail.hu>
Hi,
On 11/08/2009 10:56 AM, Németh Márton wrote:
> Hi,
>
> Hans de Goede wrote:
>> [snip]
>>
>> About the usb control msg errors, I don't think they are related to this issue at all, no real
>> world app ever does a streamon and an mmap at the same time. As said if we could serialize mmap and
>> ioctl at a high enough level, things would be fine too.
>
> I am using http://moinejf.free.fr/svv.c . In the start_capturing() function it calls the
> VIDIOC_STREAMON ioctl in case of memory mapped mode. Is this wrong? Or do you mean under
> "at the same time" that VIDIOC_STREAMON and mmap() is called from different tasks/threads?
>
Yes from 2 different threads, which are both the stream owner (so operating on the same FD).
Regards,
Hans
prev parent reply other threads:[~2009-11-08 16:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 21:05 pac7302: INFO: possible circular locking dependency detected Németh Márton
2009-11-08 9:13 ` Hans de Goede
2009-11-08 9:56 ` Németh Márton
2009-11-08 16:18 ` Hans de Goede [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=4AF6EF59.90206@redhat.com \
--to=hdegoede@redhat.com \
--cc=linux-media@vger.kernel.org \
--cc=moinejf@free.fr \
--cc=nm127@freemail.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