tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: scheduler support to lock user processes out?

On Sat, Feb 16, 2008 at 03:15:56PM +0100, Matthias Drochner wrote:
> If one suspends a device due to power savings policy or on
> user request, this should be only done if the device is
> not in use.  If the device is needed, it must be resumed.

Read: the device must detect if it is current not active and either
sleep, return an error or resume itself.

> System sleep is different: User processes still have the
> device opened, they can even sleep within driver calls.

Actually, no. It will sleep at one of the points where devices would
also check for the above.


Home | Main Index | Thread Index | Old Index