JFFS2 eats memory
Øyvind Harboe
oyvind.harboe at zylin.com
Mon Jul 19 11:15:46 EDT 2004
man, 19.07.2004 kl. 16.24 skrev David Woodhouse:
> On Mon, 19 Jul 2004, [ISO-8859-1] yvindHarboe wrote:
>
> > It crashes during garbage collect.
> >
> > How does this fix look?
>
> Suboptimal. You refrain from freeing if(jeb->gc_node) but that's going to
> mean that every time GC frees such a node you're not claiming the memory
> back?
I suppose.
At this point I'm just trying to find a fix that is correct.
> Can't you adjust gc_node instead?
I don't know.
What should I adjust it to?
> Standard comments about 8-char indentation
I need to beat emacs into submission at some point...
> and "==NULL" being horrid also apply :)
I have a database over all the formatting preferences of all the
different projects and source codes I'm working on, and your profile
still needs a bit of tweaking. ;-)
--
Øyvind Harboe
http://www.zylin.com
More information about the linux-mtd
mailing list