Re: mmapped icon foo ...



On Fri, 2006-07-14 at 09:52 +0100, Michael Meeks wrote:

> 	I was wondering; since [ in most cases ] now the icon data is shared
> across processes in the mmapped image cache; is it the case that we can
> mostly avoid loading the respective gdk-pixbuf loaders, and libjpeg /
> libpng etc. for most apps ? [ and hence their various dirty pages /
> linking slow-down etc. ].
> 
> 	Strangely, when I look at small / large apps (zenity / gedit) - they
> seem to manage to pull in libpng and often libjpeg anyway. Any idea
> why ?

Oooh, interesting.  We may very well be able to avoid loading the pixbuf
modules until later.

Can you play a bit to see when _gdk_pixbuf_load_module_unlocked() gets
called for a simple app like zenity or gedit?  I *think* that's what
loads each module the first time it is needed.

  Federico




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]