lkml.org 
[lkml]   [1998]   [Jun]   [26]   [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, Jun 25, 1998 at 01:42:13PM -0700, Linus Torvalds wrote:
> Note that pre-107 certainly did this wrong, and didn't allow the kind of
> recursion we _do_ want to allow. Which is why it got reverted. But we
> should be able to handle this _some_ way by doing the locking right.

My, my. Glad I happened to stumble across this thread instead
of removing the linux-kernel inbox...

Note that for the record, I don't think calling request_module
from init_module is a good idea. I know that the one network
driver is doing it, but I have continually failed to see how
what he is doing is better than having depmod and modprobe do
the dependancies and loading.

However, I've tried out the suggestion elsewhere and done some
flocking in insmod. Would the person who was having the problem
prompting the semaphore in the first place, whose address I've
lost, try out

ftp://ftp.redhat.com/pub/alphabits/modutils/modutils-2.1.107.tar.gz

a shot and see if it works for you?


r~

-
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.346 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site