Re: 2.6.16-rc4: known regressions

From: Russell King
Date: Wed Feb 22 2006 - 16:18:02 EST


On Wed, Feb 22, 2006 at 11:54:10AM -0800, Andrew Morton wrote:
> Yes, I tend to think that insmod should just block until all devices are
> ready to be used. insmod doesn't just "insert a module". It runs that
> module's init function.

Not always possible. In the case of PCMCIA, we've had to run things
asynchronously because of the #$@$#@ driver model locking issues -
otherwise adding a PCI (cardbus) device while we're in the probe for
the yenta device deadlocked.

I suspect other subsystems also suffered from this, which unfortunately
makes your otherwise good idea a pipedream.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/