performance of pci_device_get_{vendor, device}_name() in X server startup

Greg KH greg at
Wed Jun 9 08:04:02 PDT 2010

On Wed, Jun 09, 2010 at 07:16:48AM -0400, James Cloos wrote:
> >>>>> "MG" == Mikhail Gusarov <dottedmag at> writes:
> MG> Oh, that's _the_ right question. Looks like only for writing names to
> MG> log (unless I missed some access to the data structure while
> MG> grepping). Well, not really useful to trade for 400ms of startup :)
> That info should remain available for desktop/workstation type usages.

It already is, in the pciutils tool.

I just fail to see why it's needed in xorg.

Especially as it slows boot time down by a noticable amount.  And yes,
even desktops care about this kind of slowdown these days, especially
laptops and netbooks.


greg k-h

More information about the xorg-devel mailing list