Re: RFC [PATCH 1/1] locking/lockdep: Fix nest lock warning on unlock

From: Peter Zijlstra
Date: Wed Dec 12 2018 - 04:09:08 EST


On Tue, Dec 11, 2018 at 06:25:06PM -0800, Derek Basehore wrote:
> The function __lock_acquire checks that the nest lock is held passed
> in as an argument. The issue with this is that __lock_acquire is used
> for internal bookkeeping on lock_release. This produces a false
> positive lockdep warning on unlock. Since you explicitly don't need to
> hold the nest lock on unlock, this is an issue.

Who is triggering this?