Re: pre-patch-2.1.107 breaks kmod

Linus Torvalds (torvalds@transmeta.com)
Thu, 25 Jun 1998 12:54:21 -0700 (PDT)


On Thu, 25 Jun 1998, Alan Cox wrote:
> > The patch does fix a real problem, though. Some kind of re-entrancy block
> > is needed to make sure that there aren't two copies of "insmod" trying to
> > insert the same module at the same time. It is possible that this
>
> Why ?
>
> One of the insmod requests will fail. All that matters is that the registering
> in module namespace is atomic, not that we load a module twice and one bales

Have you actually tried it?

The problem is that without the lock, it _isn't_ atomic.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu