Re: Locking problem in dvb_demux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Stezenbach wrote:

> dvb_dmx_swfilter was written to be used from hardirq
> or softirq context. If it is called from a kernel thread,
> the use of a spinlock is somewhat inappropriate.
> 
> Maybe you should talk to the lockdep guys to find out
> what to do about this warning. Maybe a version of dvb_dmx_swfilter()
> which uses demux->mutex for use by kthreads, and then
> use this in videobuf-dvb.c, would solve it?

I guess, the proper way is to discard videobuf_dvb and make those devices
behave the same, similar to other devices, rather than having alternate
ways to handle things, eventually causing strange bugs.

Regards,
Manu

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux