On Mon, Jan 6, 2014 at 1:16 AM, Carsten Haitzler <ras...@rasterman.com> wrote: > raster pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=6f685d760851e1ccf33017b2a749008475e2ac7c > > commit 6f685d760851e1ccf33017b2a749008475e2ac7c > Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> > Date: Mon Jan 6 12:16:36 2014 +0900 > > fixme notes - fixme: many instances of module loading that bloat our mem > --- > src/lib/ecore/ecore.c | 5 +++++ > src/lib/ecore_imf/ecore_imf_module.c | 3 +++ > src/lib/eeze/eeze_sensor.c | 3 +++ > src/lib/eina/eina_mempool.c | 3 +++ > src/lib/ethumb/ethumb.c | 5 +++++ > 5 files changed, 19 insertions(+) > > diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c > index 5870206..3477aca 100644 > --- a/src/lib/ecore/ecore.c > +++ b/src/lib/ecore/ecore.c > @@ -183,6 +183,11 @@ ecore_system_modules_load(void) > eina_prefix_lib_get(_ecore_pfx)); > module_list = eina_module_arch_list_get(module_list, buf, MODULE_ARCH); > > + // XXX: MODFIX: do not list ALL modules and load them ALL! this is > + // just polluting memory pages and I/O with modules and code that > + // is then never used. detetc the module we need to use them use > + // that. if anything load each module, have it do a detect and if > + // it fails UNLOAD and try the next one. > eina_module_list_load(module_list); > }
Are you sure what you're talking about? we always use all installed system modules, they are in their own directory for that reason. other comments in this commit may be correct, I'm not sure but likely we don't want to read imf modules we're not using, not sure about eeze sensors... -- Gustavo Sverzut Barbieri -------------------------------------- Mobile: +55 (19) 9225-2202 Contact: http://www.gustavobarbieri.com.br/contact ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel