Re: Re: freeze_processes questions

Pavel Machek
2005-04-07T09:11:57Z

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

Hi!

> > > > What happens if a process owns a lock needed to suspend a device and it is
> > > > waiting in TASK_UNINTERRUPTIBLE?
> > >
> > > Well, we're in trouble. :-)
> > >
> > > However, if any process that we have frozen owns such a lock, we're in trouble
> > > too.
> >
> > No, we are not. Processes can't own any locks when they are in
> > refrigerator... It is not ok to call refrigerator from any context
> > where you own a lock.
>
> I didn't mean a lock in general, but a lock that is needed to
> suspend a device.

Processes in refrigerator are not allowed to own any locks. That means
they may not own a lock that is needed to suspend a device ;-).

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.

Pavel
--
Boycott Kodak -- for their patent abuse against Java.