Received: by oss.sgi.com id ; Mon, 19 Jun 2000 17:18:17 -0700 Received: from host.dsl.speakeasy.net ([216.254.93.178]:55546 "EHLO vaio.greennet") by oss.sgi.com with ESMTP id ; Mon, 19 Jun 2000 17:17:54 -0700 Received: from localhost (becker@localhost) by vaio.greennet (8.9.3/8.8.7) with ESMTP id UAA26990; Mon, 19 Jun 2000 20:19:07 -0400 Date: Mon, 19 Jun 2000 20:19:06 -0400 (EDT) From: Donald Becker X-Sender: becker@vaio.greennet To: Andrew Morton cc: "netdev@oss.sgi.com" Subject: Re: modular net drivers In-Reply-To: <394E2616.C25F8376@uow.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing On Mon, 19 Jun 2000, Andrew Morton wrote: > As you may have noticed, Al Viro is running around the kernel getting > rid of MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT. His long-term plan > is to remove MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT completely. > I'm looking into the changes required for the net drivers. Hmmm, this is curious. Should not the "feature freeze" phase come well after the "interface freeze"? This is pretty obviously an interface change. > - All 2.4-only netdrivers can have all their MOD_DEC and MOD_INC calls > removed. All that twisty logic to keep track of the counts can be > tossed. A single > > SET_NETDEVICE_OWNER(dev); "Twisty logic"? Most of the drivers have straight-forward use counts. How is this new method any simpler? If anything, it seems to be more complex without any obvious benefit. Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Annapolis MD 21403