Re: [PATCH 4/4] lockdep: Fix workqueue crossrelease annotation
From: Byungchul Park
Date: Wed Sep 06 2017 - 19:59:48 EST
On Wed, Sep 06, 2017 at 10:32:54AM +0900, Byungchul Park wrote:
> Moreover, it's also possible to generate more false ones between the
> pseudo acquisitions, if real acquisitions are used for that speculative
> purpose e.i. recursive-read here, which are anyway real ones.
Of course, this problem can be ignored if we *only* use recursive-read
acquisitions for the speculative purpose, though current workqueue
code uses both recursive-read and normal(write) for that.
IOW, as long as we leave the write acquisions for that purpose, this
would still be a problem.