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.