udev performance

Richi Plana myfedora at richip.dhs.org
Tue Sep 11 16:41:47 UTC 2007


On Tue, 2007-09-11 at 16:02 +0200, Hans de Goede wrote:
> Or 
> much better: have a run as daemon mode where one can stuff new modules names to 
> probe to it through a pipe, that would avoid a zillion forks and execs too, or 
> maybe split most of the code into a lib and use that lib from udev?

Came to the same conclusion, as well. Add three options: 1) start the
daemon, 2) communicate with the daemon, and 3) kill daemon. Processes
should really be as reusable as code. The daemon just has to be made
sensitive to configuration changes, or document somewhere that the
daemon cached information remains static for the entire session.
--

Richi Plana




More information about the devel mailing list