Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Sep 2002 19:27:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Sep 2002 19:27:00 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:18 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 24 Sep 2002 19:26:59 -0400 Message-ID: <3D90F5D3.4070504@pobox.com> Date: Tue, 24 Sep 2002 19:31:31 -0400 From: Jeff Garzik Organization: MandrakeSoft User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brad Hards CC: Tim Hockin , Chris Friesen , Rusty Russell , linux-kernel mailing list , Alan Cox , cgl_discussion mailing list , evlog mailing list , "ipslinux (Keith Mitchell)" , Linus Torvalds , Hien Nguyen , James Keniston , Mike Sullivan Subject: Re: alternate event logging proposal References: <20020924073051.363D92C1A7@lists.samba.org> <3D90C4FE.3070909@pobox.com> <3D90D0FB.1070805@sun.com> <200209250832.35068.bhards@bigpond.net.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 21 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/