Hi! > > > > OTOH... we may want to move completely away from refrigerator. Its > > > > quite a hack, and it device support is okay, we'll not really need it. > > > > > > Still, it won't happen soon, I guess. :-) As of today, we have the > > > refrigerator and the processes in TASK_UNINTERRUPTIBLE are mishandled. > > > I think we should do something about it, at least for now, until we drop > > > the refrigerator altogether (if we are going to drop it). That's why I > > > started the discussion and sent the patch. > > > > It's very simple. Processes in TASK_UNINTERRUPTIBLE can't be put in the > > refrigerator, so you have to wait until they can be put there. > > It seems that if a process calls wait_for_completion() right before suspend, > the other task supposed to complete its completion may be accidentally frozen > before it's able to do this. It looks like this happens to kseroid sometimes > on suspend-during-resume. Hmm, so maybe rule needs to be "other tasks may not be waiting on you using wait_for_completion when you enter refrigerator? Pavel -- Boycott Kodak -- for their patent abuse against Java.