Re: udev is too slow creating devices

From: Greg KH
Date: Wed Sep 15 2004 - 18:53:22 EST


On Thu, Sep 16, 2004 at 12:15:23AM +0200, Andrea Arcangeli wrote:
>
> But the microcode driver has nothing to do with hotplug or usb, and
> waiting for the device creation in the insmod syscall is sure natural
> and doable. Now if we don't want to create a little bit of API in udev
> to let insmod provide a sync behaviour and force people into the dev.d
> scripts and file locking in /var/run that it's one issue (you can aruge
> about higher perf), but there is a whole large class of devices that are
> not hot-pluggable and where the discovery is definitely synchronous,
> even common pci is fully sync in its discovery when you call
> pci_find_device/get_device.

That will be soon going away with my multi-threaded device discovery
work. And I run pci hotplug boxes (and so do all of the PCMCIA/CardBus
users), so don't discard PCI from being a async bus type :)

Async is now the norm, and drivers like the microcode module are the
exception.

thanks,

greg k-h
-
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/