Re: WARNING: syz-executor still has locks held!

From: Oleg Nesterov
Date: Thu Mar 21 2019 - 13:28:41 EST


On 03/20, Michal Hocko wrote:
>
> So we need
> freezable_schedule_unsafe unsafe here to workaround the original problem
> and do not trigger the warning.

Yes, but note the comment above freezable_schedule_unsafe() ;)

that is why I didn't even try to suggest to use _unsafe() instead of reverting.

And to remind, until we solve the problem with cred_guard_mutex the freezer
can fail anyway although much less likely.

Oleg.