Re: unpinning an unpinned lock

Sasha Levin
2015-09-18T13:36:33Z

On 09/16/2015 10:10 AM, Peter Zijlstra wrote:
> On Wed, Sep 16, 2015 at 12:55:35PM +0200, Peter Zijlstra wrote:
>
>> > In any case, I'll have another go at tackling this, otherwise I'll have
>> > to disable this warning for now.
>> >
>> > Note that this lockdep 'feature' is pure annotation, no actual logic was
>> > changed.
> Sasha, can you give this a spin?
>
> So there's 2 places where we take a lock out of the middle of a stack,
> and in those cases it would fail to preserve the pin_count.

The patch fixes the issue for me:

Tested-by: Sasha Levin <sasha.levin@oracle.com>

Thanks,
Sasha