Re: [RFC] Getting rid of useless daemons

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sun Apr 30 2000 - 11:10:25 EST


Cesar Eduardo Barros wrote:
>
> We got rid of bdflush. We got rid of kerneld. We got rid of update.
>
> Now I think it's time to get rid of apmd, acpid and devfsd.
>
> apmd could be changed into an executable "callback", like kmod/modprobe. acpid
> (as far as I know at least) is like apmd but also parses the ACPI tables (easy
> to do within a boot script, at the same spot acpid would be loaded). devfsd is
> also mostly a callback-like daemon with some on-load behavior.
>
> Comments?

There are far more important tasks to be done...

Unused daemon pages can be swapped out (or alternatively locked into
memory), and don't have startup costs associated with a callback. I
would rather have a daemon startup and manage its little domain, than
have the kernel directly executing scripts and such.

A callback has far far more latency than a daemon sleeping on a fd,
waiting for the kernel to wake it up.

        Jeff

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:18 EST