[cgl_discussion] Re: alternate event logging proposal

Brad Hards bhards at bigpond.net.au
Tue Sep 24 16:37:20 PDT 2002

Hash: SHA1

On Wed, 25 Sep 2002 09:31, Jeff Garzik wrote:
> Brad Hards wrote:
> > I liked the /sbin/hotplug arrangement (aka call_usermode_helper). In
> > fact, my plan was to add the call_usermode_helper call to the
> > netif_carrier_[on,off] functions. Unfortuantely, I've been to too many of
> > Rusty's talks, and know that calling a function that is only safe in user
> > context is unlikely to be a good idea in netif_carrier_[on,off], which
> > are more than likely running in interrupt context.
> You really want something where a userspace app can sleep on an fd, to
> be awakened when link changes (or some other interesting event occurs)
Maybe - I've been thinking of a "hotplug" daemon, that can take notifications 
from the kernel _and_ from other userspace apps. The integrated solution 
somehow needs to incorporate device hotplugging (eg USB, PCI), network device 
events (netlink), userspace reconfiguration (eg X colour depth and 
resolution) and maybe network infrastructure (external to the machine, 
probably SLPv2 or similar), and reconfigure kernel and applications to match.

- -- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Aust. Tickets booked.
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


More information about the cgl_discussion mailing list