Re: [PATCH] Remove module reference counting.

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Tue Jul 29 2003 - 15:33:10 EST


On 28 Jul 2003 12:38:41 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> On Llu, 2003-07-28 at 01:12, Bill Nottingham wrote:
> > It loads/unloads things like scsi modules and firewire controller
> > modules, but only for hardware actually present in the system (i.e.,
> > you'd probably be loading it again anyway, if you haven't already
> > loaded it.)
>
> It loads things like floppy anyway, and it loads lots of things like the
> firewire stuff that nobody ever uses because it has to see if anything
> is plugged into them.

And it has to leave them in memory anyway, in case someone plugs stuff in
later. Oh well.

> I guess kudzu could simply do lots of I/O ops directly on the floppy
> hardware to detect it without loading drivers but thats pretty fugly.

Agreed that'd be kinda silly. But I was "educated" earlier that driver
loading shouldn't fail just because hardware is missing, due to hotplug.

Is this wrong?
Rusty.

-- 
   there are those who do and those who hang on and you don't see too
   many doers quoting their contemporaries.  -- Larry McVoy
-
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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:43 EST