lkml.org 
[lkml]   [2002]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: alternate event logging proposal
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



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

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.051 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site