On Wed, Jul 08 2020 at 3:37pm -0400,
Gabriel Krisman Bertazi wrote:
> Mike Snitzer writes:
>
> > On Wed, Jul 08 2020 at 2:26pm -0400,
> > Gabriel Krisman Bertazi wrote:
> >
> >> If I understand it correctly, considering the deadlock you shared, this
> >> doesn't solve the entire issue. For
Mike Snitzer writes:
> On Wed, Jul 08 2020 at 2:26pm -0400,
> Gabriel Krisman Bertazi wrote:
>
>> If I understand it correctly, considering the deadlock you shared, this
>> doesn't solve the entire issue. For instance, kobject_uevent_env on the
>> GFP_NOIO thread waits on uevent_sock_mutex,
On Wed, Jul 08 2020 at 2:26pm -0400,
Gabriel Krisman Bertazi wrote:
> Mikulas Patocka writes:
>
> > kobject_uevent may allocate memory and it may be called while there are dm
> > devices suspended. The allocation may recurse into a suspended device,
> > causing a deadlock. We must set the