Re: Re: freeze_processes questions

Alan Stern
2005-04-06T19:06:39Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 654 bytes --]

On Wed, 6 Apr 2005, Nigel Cunningham wrote:

> I don't think Rafael is suggesting ignoring them. He's suggesting what
> I'm already doing:
> - Signal so they enter the freezer if they leave the state;
> - Don't count them when deciding whether freezing failed;
> - Handle the case where they don't leave the state until post resume (I
> let them enter the refrigerator, but have code in there to check whether
> the freezer is still on).
>
> In this way, I handle kseriod and anything else uninterruptible without
> any problems.

What happens if a process owns a lock needed to suspend a device and it is
waiting in TASK_UNINTERRUPTIBLE?

Alan Stern