lkml.org 
[lkml]   [1998]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pre-patch-2.1.107 breaks kmod


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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.630 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site