Re: [PATCH v5 06/13] lockdep: Implement crossrelease feature

Peter Zijlstra
2017-02-28T12:27:14Z

On Wed, Jan 18, 2017 at 10:17:32PM +0900, Byungchul Park wrote:
> + /*
> + * Each work of workqueue might run in a different context,
> + * thanks to concurrency support of workqueue. So we have to
> + * distinguish each work to avoid false positive.
> + *
> + * TODO: We can also add dependencies between two acquisitions
> + * of different work_id, if they don't cause a sleep so make
> + * the worker stalled.
> + */
> + unsigned int work_id;

I don't understand... please explain.