This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pooled memory allocation for JFFS2


Andrew Lunn wrote:
> > > Your pool changes only touch one file in the normal jffs2 distribution
> > > and that change could be put somewhere else.
> >
> > We already have 'jffs2_init_slab_caches()' which does precisely the same
> > task for the Linux code. You could use that, perhaps?
> >
> > As an added bonus, that way you'll get it done once only, instead of
> > once per file system.
>
> Sounds good.
>
> Thomas, could you do this? And also look at the unexpected compress
> case?
>
>         Thanks
>                 Andrew

Well, I'm really rather busy these days, and I have already spent more time on
this than I can afford. So I'll probably not get to that 'unknown compression'
stuff. David, are you saying I should just use the name 'jffs2_init_slab_caches()'
instead of the one I chose for my pool initialization function, leaving everything
else as it is, or are you suggesting any other changes in this area? I can only
work with the eCos repository, not the main JFFS2 CVS tree, because I have no
way of testing any changes I make in a Linux environment.

Andrew, can you take a look at http://ecos.sourceware.org/ml/ecos-patches/2003-11/msg00041.html?
That's a big memory saver and does not affect any JFFS2 files.

tk
-- 
--------------------------------------------------

Thomas Koeller, Software Development

Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany

Tel +49 (4102) 463-162
Fax +49 (4102) 463-239

mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com

==============================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]