Hi. On Tue, 2006-12-05 at 23:18 +0100, Rafael J. Wysocki wrote: > > > It happens because we shouldn't count the stopped task as freezeable any > > > more after we've set PF_FREEZE for it and we can fix that by adding > > > > > > if (p->state == TASK_STOPPED && freezing(p)) > > > continue; > > > > No, I'd actually like to force stopped task into refrigerator. > > Well, we'd have to send SIGCONT to them for this purpose and then stop them > back again during the resume. Doesn't sound nice ... I agree with Rafael. Contingencies for handling them being restarted by other means is one thing, but restarting tasks that were stopped is wrong. Who knows what work they might do between the SIGCONT and freezing that (and this is the key point) the user doesn't want them to do? Regards, Nigel