public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCHES] First version of the V4L2 core locking patches
@ 2010-09-20 21:37 Hans Verkuil
  2010-09-21 13:40 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Verkuil @ 2010-09-20 21:37 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab, Arnd Bergmann

Hi all,

I've made a first version of the core locking patches available here:

http://git.linuxtv.org/hverkuil/v4l-dvb.git?a=shortlog;h=refs/heads/test

I'm actually surprised how trivial the patches are. Which makes me wonder if
I am overlooking something, it feels too easy.

One thing I did not yet have time to analyze fully is if it is really OK to
unlock/relock the vdev_lock in videobuf_waiton. I hope it is, because without
this another thread will find it impossible to access the video node while it
is in waiton.

Currently I've only tested with vivi. I hope to be able to spend more time
this week for a more thorough analysis and converting a few more drivers to
this.

In the meantime, please feel free to shoot at this code!

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-21 19:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20 21:37 [RFC PATCHES] First version of the V4L2 core locking patches Hans Verkuil
2010-09-21 13:40 ` Mauro Carvalho Chehab
2010-09-21 13:50   ` Hans Verkuil
2010-09-21 17:14     ` Mauro Carvalho Chehab
2010-09-21 19:04       ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox