Slow X startup and Hammering /proc/pci

Thomas Leonard tal at ecs.soton.ac.uk
Sun Jun 4 23:58:23 PDT 2006


On Sun, 04 Jun 2006 20:52:53 +0300, Daniel Stone wrote:

> On Sat, Jun 03, 2006 at 02:35:18PM +0100, Thomas Leonard wrote:
>> On Sat, 03 Jun 2006 15:21:11 +0300, Daniel Stone wrote:
[...]
>> > http://people.freedesktop.org/~daniels/xorg-pci-speedup.diff is extremely
>> > nasty (lots of mangling between os-support/bus, and the OS subdirs), but
>> > it does the trick.  Does it still give you the same performance boost?
>> 
>> No, because it still calls pciFindNext() on the last iteration of the loop...
>> adding a break makes it work:
>> 
>> 	if (idx == xf86OSMaxPciDevs)
>> 		break;
>> 	tag = pciFindNext();
> 
> Gotcha.  Aside from that?

Apart from that it works fine :-) Thanks,


-- 
Dr Thomas Leonard		http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1





More information about the xorg mailing list