[linux-dvb] Locking problem in dvb_demux?

Manu Abraham abraham.manu at gmail.com
Thu Jan 24 16:30:05 CET 2008

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.


More information about the linux-dvb mailing list