Slow X startup and Hammering /proc/pci
daniel at freedesktop.org
Thu Jun 1 14:37:51 PDT 2006
On Thu, Jun 01, 2006 at 05:04:44PM -0400, Phillip Ezolt wrote:
> On 6/1/06, Daniel Stone <daniel at freedesktop.org> wrote:
> >> I shaved 1.7 seconds off of the startup time here by editing
> >> hw/xfree86/os-support/bus/Pci.c to stop after finding as many devices as
> >> there are lines in /proc/bus/pci/devices:
> >> if (idx < number_of_pci_devices)
> >> tag = pciFindNext();
> >> else
> >> tag = PCI_NOT_FOUND;
> >> No idea if this is a good general solution, but it worked for me.
> That's awesome.
> >There's a better solution, which I think is still languishing in
> Is this (https://bugs.freedesktop.org/show_bug.cgi?id=6583) what you are
> referring to?
> If so, how can we stop the languishing?
I'm currently distchecking something else at the moment, but will check
this in after that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 191 bytes
Desc: Digital signature
More information about the xorg