[Top] [All Lists]

Re: Fw: 2.6.12-rc4-mm[12] - ULOG problem

To: johnpol@xxxxxxxxxxx
Subject: Re: Fw: 2.6.12-rc4-mm[12] - ULOG problem
From: Andrew Morton <akpm@xxxxxxxx>
Date: Thu, 19 May 2005 00:08:09 -0700
Cc: herbert@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, davem@xxxxxxxxxxxxx
In-reply-to: <1116486385.21310.82.camel@uganda>
References: <> <> <> <1116484313.21310.78.camel@uganda> <> <1116486385.21310.82.camel@uganda>
Sender: netdev-bounce@xxxxxxxxxxx
Evgeniy Polyakov <johnpol@xxxxxxxxxxx> wrote:
>  > Is there any reason for being able to do that?
>  It was created to be able to load several different connector devices 
>  from different modules [basically it was module1.ko unit=10, module2.ko
>  unit=11 and so on].

Loading multiple instances of the same module so that we get multiple
instances of its data structures?   That's fairly ghastly.

We should remove the feature.  If there is demonstrated need for multiple
instances then it should be done by more conventional means - syscall,
allocation of a device major then use the minor as a selector or whatever.

<Prev in Thread] Current Thread [Next in Thread>