> > I am working with a product team on bootup time issues. One technique > that we are forward-porting from an old kernel (and that I thought I > might work on mainlining) is to compile modules statically into the kernel, > but defer their initialization until after boot time. I landed in same problem sometime back with USB and tried two approaches 1. Dirty approach of deferring loading of all usb modules till you see application startup "from user point of view" is done. I then just call into a script which loads all the usb modules "in parallel" with rest of app initialization 2. The usb modules that I load are usbcore, host controller driver, scsi_mod, sd_mod and usb_storage. I noted that it's actually scsi enumeration that takes a long time; usb enumeration was much faster. I compiled usbcore and host controller driver statically in the kernel, enabled CONFIG_HOTPLUG and did rest of the module loading in a script invoked from /sbin/hotplug. Amol -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html