Re: [PATCH] v4l2-mem2mem: drop lock in v4l2_m2m_fop_mmap

2015-07-20 Thread Mikhail Ulyanov
Hi Hans, 2015-07-20 10:58 GMT+03:00 Hans Verkuil : > > Since vb2_fop_mmap doesn't take the lock, neither should v4l2_m2m_fop_mmap. > > Signed-off-by: Hans Verkuil [snip] Tested-by: Mikhail Ulyanov -- W.B.R, Mikhail. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in

[PATCH] v4l2-mem2mem: drop lock in v4l2_m2m_fop_mmap

2015-07-20 Thread Hans Verkuil
The v4l2_m2m_fop_mmap function takes the core mutex, but this will result in a potential circular locking dependency: [ 262.517164] == [ 262.517166] [ INFO: possible circular locking dependency detected ] [ 262.517169] 4.2.0-rc2-koryphon #844