Re: [PATCH v5 06/13] lockdep: Implement crossrelease feature
From: Peter Zijlstra
Date: Tue Feb 28 2017 - 07:27:18 EST
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.