Re: Deadlock patch for kmod

Kevin Lentin (kevinl@cs.monash.edu.au)
Thu, 23 Apr 1998 12:43:51 +1000


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.

-- 
[======================================================================]
[     Kevin Lentin               Email: K.Lentin@cs.monash.edu.au      ]
[   finger kevinl@fangorn.cs.monash.edu.au for PGP public key block.   ]
[  KeyId: 06808EED    FingerPrint: 6024308DE1F84314  811B511DBA6FD596  ]
[======================================================================]

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