public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "David D. Hagood" <wowbagger@sktc.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Driverfs updates
Date: Tue, 09 Jul 2002 07:20:40 -0500	[thread overview]
Message-ID: <3D2AD518.6090706@sktc.net> (raw)
In-Reply-To: Pine.LNX.3.95.1020709073843.24291A-100000@chaos.analogic.com

I've been following this thread for some time, and one aspect of it 
disturbs me - the principle of symmetry.

I've found that generally, in design thing should be symmetric - if you 
can turn a thing on, you could be able to turn it off, if you can heat a 
thing, you should be able to cool it, and if you can load a thing, you 
should be able to unload it.

In the old days, a computer was "complete" when it booted - all things 
that ever would be in the machine during that run were present at boot, 
and the only way something could be added would be to turn the machine 
off. In such an environment, a monolithic kernel loaded at boot made sense.

Now, we have things like Firewire, USB, Bluetooth, PCMCIA, Hot-Plug PCI 
and TCP/IP attached devices, all of which can come and go as they 
please. Loadable modules made supporting such things easy - witness the 
trouble WinNT had dealing with PCMCIA vs. Linux.

However, if you cannot unload modules, then the kernel grows without 
bound - the mere fact that a Bluetooth camera came into range causes the 
kernel to grow as the driver gets loaded. True, you could go in as root 
and clean up, but it seems to me that requiring root to do that sort of 
periodic maintainance prevents Linux from being able to be the Energizer 
Bunny OS - "it keeps going and going...." without much diddling.

It seems to me the problem is in designing modules to unload, and saying 
"Then don't unload them" is not even a band-aid - it is willful 
ignorance. If there is a potential race condition unloading a module, 
then the module is BROKEN.


  reply	other threads:[~2002-07-09 12:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-08 18:41 Driverfs updates Patrick Mochel
2002-07-08 23:33 ` Keith Owens
2002-07-08 23:52   ` Thunder from the hill
2002-07-09  0:09     ` Keith Owens
2002-07-09  8:30     ` Oliver Neukum
2002-07-09 11:08       ` Thunder from the hill
2002-07-09 11:45         ` Richard B. Johnson
2002-07-09 12:20           ` David D. Hagood [this message]
2002-07-09 12:33             ` Thunder from the hill
2002-07-09 14:43             ` jbradford
2002-07-10  7:15             ` jw schultz
2002-07-09 17:05         ` Oliver Neukum
2002-07-10  0:43         ` Pavel Machek
2002-07-09 16:56   ` Patrick Mochel
2002-07-09 23:29     ` Keith Owens
2002-07-10 20:02       ` Patrick Mochel
2002-07-11  0:40     ` John Alvord
  -- strict thread matches above, loose matches on Subject: below --
2002-07-18 18:11 driverfs updates Patrick Mochel
2002-07-18 18:33 ` Greg KH
2002-07-18 19:57   ` Patrick Mochel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D2AD518.6090706@sktc.net \
    --to=wowbagger@sktc.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox