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

From: Johannes Berg
Date: Tue Aug 21 2018 - 13:16:06 EST


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