Re: [RFC] New Driver Model for 2.5

From: Xavier Bestel (xavier.bestel@free.fr)
Date: Thu Oct 25 2001 - 16:52:01 EST


le jeu 25-10-2001 à 14:42, Alan Cox a écrit :
> > If you have a acpi deamon that decides to make the machine go to sleep
> > while burning a CD, that's nothign to do with the kernel at all.
>
> One job kernel drivers have is to say "I can't safely sleep at this moment"
> Even windows/XP beta gets this right.

The other solution (let cdrecord tell I-dunno-how the PM daemon that
it's doing something "important") is IMHO better: the PM daemon could
judge if it should honor the suspend request depending on its priority
(inactivity, power button or low battery) and the running "important"
jobs.

        Xav

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:29 EST