Re: Unified power management userspace policy

Andrew Morton (andrewm@uow.edu.au)
Tue, 09 Jan 2001 21:52:38 +1100


John Fremlin wrote:
>
> Hi all!
>
> At the moment there are two power management drivers in the linux
> kernel (AFAIK). They each have different userspace interfaces --
> /proc/apm and /dev/apmctl and /proc/sys/acpi/events or something. This
> is not altogether bad, but as they do the same thing, it might be nice
> to unify (part) of the interface. In fact this is already done for the
> in kernel interface with pm_send_all.
>

John,

Could you please use call_usermodehelper() in this patch
rather than exec_usermodehelper()? I want to kill
exec_usermodehelper() sometime.

Plus your code will be simpler - no need to create
your own kernel thread.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/