Linux-kernel mailing list archive 1998-25,: Re: pre-patch-2.1.107 breaks kmod

# Re: pre-patch-2.1.107 breaks kmod

Alex Buell (alex.buell@tahallah.demon.co.uk)
Wed, 24 Jun 1998 20:40:29 -0400 (EDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Mr. James W. Laferriere: "Re: Image for M-300LX"
- Previous message: James H. Cloos Jr.: "Re: Y2K"

On Wed, 24 Jun 1998, Linus Torvalds wrote:

> > I don't know what problem the mutex is supposed to solve,
> > but this change makes kmod non-reentrant and unreliable.
>
> 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
> re-entrancy block needs to be done by insmod itself, rather than the
> kernel.

I agree. This should be done in insmod itself, not the kernel.

Cheers,
Alex

    --
     /\_/\  Legalise cannabis now!
    ( o.o ) Smoke some cannabis today!
     > ^ <  Peace, Love, Unity and Respect to all.

    http://www.tahallah.demon.co.uk

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

- Next message: Mr. James W. Laferriere: "Re: Image for M-300LX"
- Previous message: James H. Cloos Jr.: "Re: Y2K"