Messages in this thread | | | Date | Wed, 22 Feb 2006 21:19:44 +0000 | From | Russell King <> | Subject | Re: 2.6.16-rc4: known regressions |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |