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

Mikhail Gusarov dottedmag at dottedmag.net
Tue Jun 8 17:22:29 PDT 2010


Twas brillig at 17:04:59 08.06.2010 UTC-07 when greg at kroah.com did gyre and gimble:

 GK> Ok, I'm coming in late, but why in the world would the x server
 GK> ever care about the pci.ids file?  Why would the mapping from id to
 GK> string be needed anywhere here?

Oh, that's _the_ right question. Looks like only for writing names to
log (unless I missed some access to the data structure while
grepping). Well, not really useful to trade for 400ms of startup :)

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100609/370b8fd1/attachment.pgp>


More information about the xorg-devel mailing list