dixLookupPrivate

Michel Dänzer michel at tungstengraphics.com
Tue Jul 15 00:02:19 PDT 2008


On Tue, 2008-07-15 at 00:14 +0200, Lukas Hejtmanek wrote:
> On Mon, Jul 14, 2008 at 07:10:38PM -0300, Cristian Wilgenhoff wrote:
> > Hello Lukas, when i scroll down or up in the right box "Weiterlesen", the
> > cpu usage increase a lot. It probably would be a bug in Firefox. Lets find
> > out in other browsers..
> 
> I meant, scroll the whole page, not just the weiterlesen box...
> 
> but cpu usage increase a lot anyway. oprofile suggests that cpu is eaten by
> Xorg in dixLookupPrivate.. maybe the list of privates is too long?

The private lookup implementation was changed between 1.4 and 1.5 so
it's now O(number of private entries) instead of O(1). There are plans
to make it O(1) again, see e.g.
http://bugs.freedesktop.org/show_bug.cgi?id=16647#c15 .


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list