Re: alternate event logging proposal

Jeff Garzik
2002-09-24T23:27:00Z

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)

Jeff