Re: [PATCH 0/2] workqueue lockdep limitations/bugs

Johannes Berg
2018-08-21T17:16:06Z

Hi Tejun,

> > Let's say we again have an ordered workqueue, and the following:
> >
> > work1_function
> > {
> > mutex_lock(&mutex);
> > }
>
> Regular mutexes complain when the locker isn't the unlocker already.
> Do we really care about this case?

Oh, sorry for the confusion. I was just eliding the - not very
interesting for this case - unlock. Really I should've typed up a
lock/unlock pair in all of the examples.

johannes