Messages in this thread | | | Date | Wed, 20 Mar 2019 14:24:11 +0100 | From | Oleg Nesterov <> | Subject | Re: WARNING: syz-executor still has locks held! |
| |
On 03/20, Michal Hocko wrote: > > Yes we do hold the cgred mutex while calling freezable_schedule but why > are we getting a warning is not really clear to me. The task should be > hidden from the freezer so why do we warn at all?
try_to_freeze() calls debug_check_no_locks_held() and this makes sense.
Another task can sleep waiting for the same lock; in this case try_to_freeze_tasks() will fail but it won't blame the lock holder exactly because it is "hidden from the freezer".
Oleg.
| |