lkml.org 
[lkml]   [1998]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Deadlock patch for kmod
Kevin Lentin writes:
> On Thu, Apr 23, 1998 at 11:34:10AM +1000, Richard Gooch wrote:
> > Hi, Linus. Below is a small patch that should fix a nasty deadlock
> > with kmod: if a modprobe initiated by kmod does something that
> > triggers another module load request via kmod, we have a deadlock. I
> > hope I've got the process killing semantics correct.
>
> Is this the same problem that prevents the module probve for
> scsi_hostadapter not to work. I've checked and the call is being made, but
> modprobe just never gets called. I presumed it was because the
> initailisation of one module is calling another.

I'm not sure. It will detect the case where a kmod initiated modprobe
causes the loading module to attempt another module load via kmod.
Apply the patch and tell us :-)

Regards,

Richard....
-
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:42    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site