Re: [RT WARNING] DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current) with fsfreeze (4.19.25-rt16)

From: Sebastian Andrzej Siewior
Date: Tue Apr 30 2019 - 08:51:39 EST


On 2019-04-19 10:56:27 [+0200], Juri Lelli wrote:
> On 26/03/19 10:34, Juri Lelli wrote:
> > Hi,
> >
> > Running this reproducer on a 4.19.25-rt16 kernel (with lock debugging
> > turned on) produces warning below.
>
> And I now think this might lead to an actual crash.

Peter, could you please take a look at the thread:
https://lkml.kernel.org/r/20190419085627.GI4742@xxxxxxxxxxxxxxxxxxxxx

I assumed that returning to userland with acquired locks is something we
did not wantâ

Sebastian